public void AddFoodItem(Order order, FoodItem item, int quantity)
 {
     order.AddFoodItem(item, quantity);
 }
 public void CancelFoodItem(Order order, FoodItem item)
 {
     order.RemoveFoodItem(item);
 }
Exemplo n.º 3
0
 public bool RemoveFoodItem(FoodItem foodItem)
 {
     return(_foodItems.Remove(foodItem));
 }