public Decimal Populate(UnsavedBasketCountryModel unsavedBasketCountry, BenchmarkValueResolver valueResolver) { var value = valueResolver.GetBenchmark(unsavedBasketCountry.Country.IsoCode.Value); unsavedBasketCountry.Benchmark = value; return(value); }
public Decimal Populate(CountryModel country, BenchmarkValueResolver valueResolver) { var value = valueResolver.GetBenchmark(country.Country.IsoCode.Value); country.Benchmark = value; return(value); }