diff --git a/Repositories/IPolisRepository.cs b/Repositories/IPolisRepository.cs new file mode 100644 index 0000000..340ae6f --- /dev/null +++ b/Repositories/IPolisRepository.cs @@ -0,0 +1,14 @@ +using Renis.Database.Models; + +namespace Renis.Repositories; + +public interface IPolisRepository +{ + public Task AddPolis(Polis polis); + public Task UpdatePolis(Polis polis); + public Task DeletePolis(Polis polis); + public Task GetPolisById(long id); + public Task GetPolisByNumber(string number); + public IQueryable GetPolises(); + public Task Save(); +} diff --git a/Repositories/PolisRepository.cs b/Repositories/PolisRepository.cs new file mode 100644 index 0000000..e69de29