adding PersonRepository
This commit is contained in:
1 parent
4ca2f43958
commit
e0d3e80262
2 files changed
+58
No files matched your search
@@ -0,0 +1,14 @@
|
||||
|
||||
using api.Domain;
|
||||
|
||||
namespace api.Repositories
|
||||
{
|
||||
public interface IPersonRepository
|
||||
{
|
||||
Task<IEnumerable<Person>> GetAllAsync();
|
||||
Task<Person> GetByUsernameAsync(String username);
|
||||
Task AddAsync(Person person);
|
||||
Task UpdateAsync(Person person);
|
||||
Task DeleteAsync(String username);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user