public void DeleteMenuItem_ShouldReturnTrue()
        {
            CafeMenuRepository _cafeMenuRepo = new CafeMenuRepository();

            // Arrange
            //   seed the menu list
            MenuItem seedMenuItem1 = new MenuItem(1, "Meal One", "The first meal on the menu", "One burger, One bun, One whiskey", 11.11m);
            MenuItem seedMenuItem2 = new MenuItem(2, "Meal Two", "The second meal on the menu", "Two burgers, Two buns, Two whiskeys", 22.22m);
            MenuItem seedMenuItem3 = new MenuItem(3, "Meal Three", "The third meal on the menu", "Three burgers, Three buns, Three whiskeys", 33.33m);
            MenuItem seedMenuItem4 = new MenuItem(4, "Meal Four", "The fourth meal on the menu", "Four burgers, Four buns, Four whiskeys", 44.44m);

            _cafeMenuRepo.AddItemToMenu(seedMenuItem1);
            _cafeMenuRepo.AddItemToMenu(seedMenuItem2);
            _cafeMenuRepo.AddItemToMenu(seedMenuItem3);
            _cafeMenuRepo.AddItemToMenu(seedMenuItem4);

            // get menu item 3 from the list
            MenuItem menuItem = _cafeMenuRepo.GetMenuItemByMealNumber(3);

            // Act
            //    delete menu item 3 from the list
            bool menuItemDeleted = _cafeMenuRepo.DeleteMenuItem(menuItem);

            // Assert
            Assert.IsTrue(menuItemDeleted);
        }
        private void DeleteMenuItem()
        {
            bool continueLooping = true;

            SeeAllMenuItems();

            // LOOP THROUGH THE MENU TO FIND THE REQUESTED MENU ITEM TO DELETE
            while (continueLooping)
            {
                // PROMPT THE USER FOR THE MENU ITEM TO DELETE
                Console.WriteLine("\nWhich meal number would you like to delete?");
                //int itemNumberToDelete = Convert.ToInt32(Console.ReadLine());
                string itemStringToDelete = Console.ReadLine();
                // IF THEY DON'T ENTER A VALUE, PROMPT AGAIN
                if (itemStringToDelete == "")
                {
                    Console.WriteLine("Please enter a valid meal number \n" +
                                      "Press any key to continue...");
                }
                else
                {
                    // RETRIEVE THE MENU ITEM WITH THE SPECIFIED MEAL NUMBER
                    int      itemNumberToDelete = Convert.ToInt32(itemStringToDelete);
                    MenuItem itemToDelete       = _cafeMenuRepo.GetMenuItemByMealNumber(itemNumberToDelete);

                    // DELETE THE MENU ITEM
                    //bool itemWasDeleted = _cafeMenuRepo.DeleteMenuItem(itemToDelete);
                    if (!_cafeMenuRepo.DeleteMenuItem(itemToDelete))
                    {
                        // THE DELETE FAILED
                        Console.WriteLine("Sorry. The item could not be deleted.\n" +
                                          "Please try again. \n" +
                                          "Press any key to continue...");
                        Console.ReadLine();
                    }
                    else
                    {
                        // THE MENU ITEM WAS DELETED. STOP THE WHILE LOOP
                        continueLooping = false;
                        Console.WriteLine($"Meal #{itemToDelete.MealNumber} {itemToDelete.MealName} was removed from the menu. \n" +
                                          "Press any key to continue...");
                        Console.ReadLine();
                    }
                }
            } // while loop
        }     // DeleteMenuItem method