Beispiel #1
0
 public async Task <int> GetHostCount()
 {
     return(dbSiteSettings.GetHostCount());
 }
Beispiel #2
0
 public async Task <int> GetHostCount(CancellationToken cancellationToken = default(CancellationToken))
 {
     cancellationToken.ThrowIfCancellationRequested();
     return(dbSiteSettings.GetHostCount());
 }