public override bool AddPizza() { var newPizza = OrderUtils.ChosePizza(); if (newPizza != null) { Console.WriteLine("Pizza was added to the order"); order.Pizzas.Add(newPizza); return(true); } else { return(false); } }
public override bool AddPizza() { var newPizza = OrderUtils.ChosePizza(); if (newPizza != null) { Console.WriteLine("Pizza was added to the order"); order.Pizzas.Add(newPizza); return(true); } else { return(false); } }