//Remove public static void Remove(int id) { Cheese cheeseToRemove = GetById(id); cheeses.Remove(cheeseToRemove); }
// Remove public static void Remove(string cheeseId) { Cheese cheeseToRemove = GetById(cheeseId); cheeses.Remove(cheeseToRemove); }
//Add public static void Add(Cheese newCheese) { cheeses.Add(newCheese); }
public CheeseMenu(Menu menu, Cheese cheese) { Menu = menu; Cheese = cheese; }
// Remove cheese(s) public static void Remove(int id) { Cheese removeCheese = GetById(id); cheeseList.Remove(removeCheese); }
public static void Add(Cheese cheese) { cheeses.Add(cheese); }
// Delete public static void Delete(int id) { Cheese cheeseToDelete = GetById(id); cheeses.Remove(cheeseToDelete); }
// Add public static void Add(Cheese newCheese) { newCheese.CheeseId = newCheeseId++; cheeses.Add(newCheese); }