Exemplo n.º 1
0
 /// <summary>
 /// Gets a count of GeoCountry.
 /// </summary>
 public async Task <int> GetCountryCount(CancellationToken cancellationToken = default(CancellationToken))
 {
     cancellationToken.ThrowIfCancellationRequested();
     return(await dbGeoCountry.GetCount(cancellationToken));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Gets a count of GeoCountry.
 /// </summary>
 public async Task <int> GetCountryCount()
 {
     return(await dbGeoCountry.GetCount());
 }