ISourcesRepository.cs updated to return total rows

This commit is contained in:
James Tombleson 2023-08-06 13:35:26 -07:00
parent 338edf8d4e
commit 97fc34481c
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ public interface ISourcesRepository
public List<SourceEntity> List(int page, int count);
public List<SourceEntity> ListBySource(string source,int page, int limit);
public List<SourceEntity> ListByType(string type,int page, int limit = 25);
public Task<int> TotalByTypeAsync(string type);
public int Disable(Guid id);
public int Enable(Guid id);
public void Delete(Guid id);