/// <summary> /// Calculates the total for a given list of pizzas. Returns the total with /// tax added. /// </summary> public decimal GetCostOfPizzas(List <PizzaBO> pizzaBOList) { return(PriceCalculator.CalculateCostOfPizzas(pizzaBOList)); }
/// <summary> /// Gets the cost of a pizza without tax. /// </summary> /// <param name="pizzaBO">The pizza to calculate on.</param> /// <returns>Return the cost of the pizza.</returns> public decimal GetPizzaCost(PizzaBO pizzaBO) { return(PriceCalculator.CalculateBasePizzaCost(pizzaBO)); }