/// <summary> /// Gets an IList with all instances of GeoCountry. /// </summary> public async Task <List <IGeoCountry> > GetAllCountries(CancellationToken cancellationToken = default(CancellationToken)) { cancellationToken.ThrowIfCancellationRequested(); DbDataReader reader = dbGeoCountry.GetAll(); return(LoadCountryListFromReader(reader)); }
/// <summary> /// Gets an IList with all instances of GeoCountry. /// </summary> public async Task <List <IGeoCountry> > GetAllCountries() { DbDataReader reader = dbGeoCountry.GetAll(); return(LoadCountryListFromReader(reader)); }