static void EditCart(Order cart) { System.Console.WriteLine("- Edit Cart"); if (cart.IsListEmpty()) // check if cart is empty { return; } Starter.EditCartMenu(); int select; int.TryParse(Console.ReadLine(), out select); if (select == 1) { RemovePizza(cart); } else if (select == 2) { RemoveAllPizzas(cart); } else if (select == 3) { // TODO edit order EditPizza(cart); } }