15 lines
331 B
C#
15 lines
331 B
C#
|
|
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);
|
|
}
|
|
}
|