Ejemplo n.º 1
0
 public async Task <int> GetLanguageCount()
 {
     return(await dbLanguage.GetCount());
 }
Ejemplo n.º 2
0
 public async Task <int> GetLanguageCount(CancellationToken cancellationToken = default(CancellationToken))
 {
     cancellationToken.ThrowIfCancellationRequested();
     return(await dbLanguage.GetCount(cancellationToken));
 }