//Update -no update needed for challenge //Delete public bool RemoveContentFromMenu(int mealNumber) { MenuContent content = GetContentByMenuNumber(mealNumber); if (content == null) { return(false); } int initialCount = _menuContents.Count; _menuContents.Remove(content); if (initialCount > _menuContents.Count) { return(true); } else { return(false); } }
//Create public void AddContentToMenu(MenuContent content) { _menuContents.Add(content); }