diff --git a/Newsbot.Collector.Domain/Interfaces/ISourcesRepository.cs b/Newsbot.Collector.Domain/Interfaces/ISourcesRepository.cs index 9c4c843..8276b1d 100644 --- a/Newsbot.Collector.Domain/Interfaces/ISourcesRepository.cs +++ b/Newsbot.Collector.Domain/Interfaces/ISourcesRepository.cs @@ -14,6 +14,7 @@ public interface ISourcesRepository public List List(int page, int count); public List ListBySource(string source,int page, int limit); public List ListByType(string type,int page, int limit = 25); + public Task TotalByTypeAsync(string type); public int Disable(Guid id); public int Enable(Guid id); public void Delete(Guid id);