示例#1
0
 public async Task <int> GetCount()
 {
     return(dbSiteSettings.CountOtherSites(-1));
 }
示例#2
0
 public async Task <int> GetCount(CancellationToken cancellationToken = default(CancellationToken))
 {
     cancellationToken.ThrowIfCancellationRequested();
     return(dbSiteSettings.CountOtherSites(-1));
 }