ISourcesRepository.cs updated to return total rows
This commit is contained in:
parent
338edf8d4e
commit
97fc34481c
@ -14,6 +14,7 @@ public interface ISourcesRepository
|
|||||||
public List<SourceEntity> List(int page, int count);
|
public List<SourceEntity> List(int page, int count);
|
||||||
public List<SourceEntity> ListBySource(string source,int page, int limit);
|
public List<SourceEntity> ListBySource(string source,int page, int limit);
|
||||||
public List<SourceEntity> ListByType(string type,int page, int limit = 25);
|
public List<SourceEntity> ListByType(string type,int page, int limit = 25);
|
||||||
|
public Task<int> TotalByTypeAsync(string type);
|
||||||
public int Disable(Guid id);
|
public int Disable(Guid id);
|
||||||
public int Enable(Guid id);
|
public int Enable(Guid id);
|
||||||
public void Delete(Guid id);
|
public void Delete(Guid id);
|
||||||
|
Loading…
Reference in New Issue
Block a user