Esempio n. 1
0
        public void Sell(Product product, Currency currency)
        {
            decimal price = _customer.Discount * product.Price;

            price = _bankService.CovertRate(new CurrencyRate()
            {
                Currency = currency, Price = price
            });

            Console.WriteLine(product.Name + ": " + price + " ");
            Console.ReadLine();
        }