//Create public bool AddMealToMenu(CafeMenu newMenuItem) { int startingCount = MenuItems.Count; MenuItems.Add(newMenuItem); bool wasAdded = (MenuItems.Count > startingCount) ? true : false; return(wasAdded); }
//(no update functionality for this challenge) //Delete public bool DeleteItemFromMenu(CafeMenu existingItem) { bool deleteItem = MenuItems.Remove(existingItem); return(deleteItem); }