features/role-updates #18
@ -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