private void DeleteMenuItems() { Console.Clear(); MenuItem deleteMenuItem = new MenuItem(); Console.WriteLine("What item (input name) do you want to delete?"); bool wasDeleted = _repo.DeleteExistingMenuItems(Console.ReadLine()); if (wasDeleted) { Console.WriteLine("Items were deleted"); } else { Console.WriteLine("Did not delete items"); } }
public void DeleteExistingMenuItems_ShouldReturnTrue() { bool wasDeleted = _repo.DeleteExistingMenuItems("BurgerBuddy"); Assert.IsTrue(wasDeleted); }