Exemple #1
0
 public async Task <int> CountUsersInRole(int siteId, int roleId, string searchInput)
 {
     return(dbRoles.GetCountOfUsersInRole(siteId, roleId, searchInput));
 }
 public async Task <int> CountUsersInRole(int siteId, int roleId, string searchInput, CancellationToken cancellationToken = default(CancellationToken))
 {
     cancellationToken.ThrowIfCancellationRequested();
     return(dbRoles.GetCountOfUsersInRole(siteId, roleId, searchInput));
 }