예제 #1
0
        public async Task <int> CountUsersNotInRole(int siteId, int roleId, string searchInput)
        {
            if (multiTenantOptions.UseRelatedSitesMode)
            {
                siteId = multiTenantOptions.RelatedSiteId;
            }

            return(dbRoles.GetCountOfUsersNotInRole(siteId, roleId, searchInput));
        }
예제 #2
0
 public async Task <int> CountUsersNotInRole(int siteId, int roleId, string searchInput, CancellationToken cancellationToken = default(CancellationToken))
 {
     cancellationToken.ThrowIfCancellationRequested();
     return(dbRoles.GetCountOfUsersNotInRole(siteId, roleId, searchInput));
 }
예제 #3
0
 public async Task <int> CountUsersNotInRole(int siteId, int roleId, string searchInput)
 {
     return(dbRoles.GetCountOfUsersNotInRole(siteId, roleId, searchInput));
 }