private async Task<IEnumerable<DeliveryLocation>> GetLocationsFromServiceAsync(string city, string postalCode, StreetAddress parsedAddress)
 {
     try
     {
         return (await
             _postNordClient.FindNearestByAddress(new RegionInfo("NO"), city, postalCode, parsedAddress.Street,
                 parsedAddress.Number)).
             Select(CreateDeliveryLocationFrom);
     }
     catch (Exception ex)
     {
         Log.Error("Error occured when getting service points from Postnord.", ex);
         return Enumerable.Empty<DeliveryLocation>();
     }
 }
 private async Task <IEnumerable <DeliveryLocation> > GetLocationsFromServiceAsync(string city, string postalCode, StreetAddress parsedAddress)
 {
     try
     {
         return((await
                 _postNordClient.FindNearestByAddress(new RegionInfo("NO"), city, postalCode, parsedAddress.Street,
                                                      parsedAddress.Number)).
                Select(CreateDeliveryLocationFrom));
     }
     catch (Exception ex)
     {
         Log.Error("Error occured when getting service points from Postnord.", ex);
         return(Enumerable.Empty <DeliveryLocation>());
     }
 }