public void Setup()
        {
            //add currency
            var britishCurrency = new Entities.Currencies.Currency
            {
                Name   = "British Pound",
                Code   = "GBP",
                Format = "£0.00"
            };

            _currencyService.Add(britishCurrency);

            var taxRate = new TaxRate
            {
                Name       = "VAT",
                Code       = "S",
                Percentage = 20m
            };

            _taxRateManager.Add(taxRate);

            var uk = new Country
            {
                Name             = "United Kingdom",
                ISOTwoLetterCode = "GB"
            };

            _countryService.AddCountry(uk);
        }
Beispiel #2
0
        public void Setup()
        {
            //add currency
            var britishCurrency = new Entities.Currencies.Currency
            {
                Name = "British Pound",
                Code = "GBP",
                Format = "£0.00"
            };
            _currencyService.Add(britishCurrency);

            var taxRate = new TaxRate
            {
                Name = "VAT",
                Code = "S",
                Percentage = 20m
            };
            _taxRateManager.Add(taxRate);

            var uk = new Country
            {
                Name = "United Kingdom",
                ISOTwoLetterCode = "GB"
            };
            _countryService.AddCountry(uk);
        }