public void AddNewMenuItems_ShouldReturnTrue() { Cafe club = new Cafe(7, "Bacon", "Side of Bacon", "Bacon", 3.75); int beforeCount = _repo.GetMenuList().Count; _repo.AddNewMenuItems(club); int afterCount = _repo.GetMenuList().Count; Assert.IsTrue(afterCount > beforeCount); }
//1 - Display private void DisplayAllMenuItems() { Console.Clear(); List <Cafe> menuList = _cafeRepo.GetMenuList(); foreach (Cafe item in menuList) { Console.WriteLine($"Meal Number:{item.MealNumber}\n" + $"Item Name: {item.MealName}\n" + $"Description:{item.Description}\n" + $"Ingredients:{item.Ingredinets}\n" + $"Price:{item.Price}"); } }