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