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

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

            return(await dbRoles.GetCountOfUsersNotInRole(siteId, roleId, searchInput));
        }
Esempio n. 3
0
 public async Task <int> CountUsersNotInRole(int siteId, int roleId, string searchInput)
 {
     return(await dbRoles.GetCountOfUsersNotInRole(siteId, roleId, searchInput));
 }