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

            return(await queries.CountUsersInRole(siteId, roleId, searchInput, CancellationToken));
        }