adding PersonRepository

This commit is contained in:
marco committed 2026-08-30 16:54:12 +02:00
1 parent 4ca2f43958
commit e0d3e80262
2 files changed
+58

No files matched your search

+14
View File
@@ -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);
}
}