Exemplo n.º 1
0
        private void ProcessInvoice()
        {
            double baseCost = CostService.BaseCost(Rental.Duration);
            double tax      = CostService.Tax(baseCost);

            Rental.Invoice = new Invoice(baseCost, tax);
        }