/// <summary> /// Gets an IList with all instances of GeoZone. /// </summary> public async Task <List <IGeoZone> > GetGeoZonesByCountry(Guid countryGuid, CancellationToken cancellationToken = default(CancellationToken)) { cancellationToken.ThrowIfCancellationRequested(); DbDataReader reader = dbGeoZone.GetByCountry(countryGuid); return(LoadGeoZoneListFromReader(reader)); }
/// <summary> /// Gets an IList with all instances of GeoZone. /// </summary> public async Task <List <IGeoZone> > GetGeoZonesByCountry(Guid countryGuid) { DbDataReader reader = dbGeoZone.GetByCountry(countryGuid); return(LoadGeoZoneListFromReader(reader)); }