public async Task <int> CountUsersInRole(int siteId, int roleId, string searchInput) { if (multiTenantOptions.UseRelatedSitesMode) { siteId = multiTenantOptions.RelatedSiteId; } return(await dbRoles.GetCountOfUsersInRole(siteId, roleId, searchInput)); }
public async Task <int> CountUsersInRole(int siteId, int roleId, string searchInput, CancellationToken cancellationToken = default(CancellationToken)) { cancellationToken.ThrowIfCancellationRequested(); return(await dbRoles.GetCountOfUsersInRole(siteId, roleId, searchInput)); }
public async Task <int> CountUsersInRole(int siteId, int roleId, string searchInput) { return(await dbRoles.GetCountOfUsersInRole(siteId, roleId, searchInput)); }