public void RemoveMenuContent() { Arrange(); bool actual = _menuRepo.RemoveMenuContent(4); bool expected = true; int actualCount = _menuRepo.GetMenuContent().Count; int expectedCount = 4; Assert.AreEqual(expected, actual); Assert.AreEqual(expectedCount, actualCount); }
private void RemoveMenuContent() { ViewAllContent(); Console.WriteLine("Enter the name of the meal that you would like to remove:"); string input = Console.ReadLine(); bool wasDeleted = _menuRepo.RemoveMenuContent(input); if (wasDeleted) { Console.WriteLine("The content was successfully deleted."); } else { Console.WriteLine("The content could not be delted."); } }