Example #1
0
 public async Task <int> CountNotApprovedUsers(
     int siteId,
     CancellationToken cancellationToken = default(CancellationToken))
 {
     cancellationToken.ThrowIfCancellationRequested();
     return(await dbSiteUser.CountNotApprovedUsers(siteId, cancellationToken));
 }
Example #2
0
 public async Task <int> CountNotApprovedUsers(int siteId)
 {
     if (multiTenantOptions.UseRelatedSitesMode)
     {
         siteId = multiTenantOptions.RelatedSiteId;
     }
     return(dbSiteUser.CountNotApprovedUsers(siteId));
 }
Example #3
0
 public async Task <int> CountNotApprovedUsers(int siteId)
 {
     return(await dbSiteUser.CountNotApprovedUsers(siteId));
 }
 public async Task <int> CountNotApprovedUsers(int siteId, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(await dbSiteUser.CountNotApprovedUsers(siteId));
 }