/// <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 = await dbGeoZone.GetByCountry(countryGuid, cancellationToken); return(LoadGeoZoneListFromReader(reader)); }
/// <summary> /// Gets an IList with all instances of GeoZone. /// </summary> public async Task <List <IGeoZone> > GetGeoZonesByCountry(Guid countryGuid) { DbDataReader reader = await dbGeoZone.GetByCountry(countryGuid); return(LoadGeoZoneListFromReader(reader)); }