public void TakeOrder(string[] ingredients, string drink, double price) { var pizza = PizzaFactory.MakePizza(ingredients); PizzaOven.PreparePizza(new PizzaToMenuAdapter(drink, price, pizza)); }
public void TakeOrder(string[] ingredients) { var pizza = PizzaFactory.MakePizza(ingredients); PizzaOven.PreparePizza(new PizzaToMenuAdapter(pizza)); }