コード例 #1
0
        public Decimal Populate(UnsavedBasketCountryModel unsavedBasketCountry, BenchmarkValueResolver valueResolver)
        {
            var value = valueResolver.GetBenchmark(unsavedBasketCountry.Country.IsoCode.Value);

            unsavedBasketCountry.Benchmark = value;
            return(value);
        }
コード例 #2
0
        public Decimal Populate(CountryModel country, BenchmarkValueResolver valueResolver)
        {
            var value = valueResolver.GetBenchmark(country.Country.IsoCode.Value);

            country.Benchmark = value;
            return(value);
        }