Example #1
0
        //view all menu items
        private void ViewAllMenuItems()
        {
            List <MenuItems> listOfMenuItems = _menuItemRepo.GetMenuList();

            foreach (MenuItems item in listOfMenuItems)
            {
                Console.WriteLine(
                    $"Item: {item.ItemNo}\n" +
                    $"Name: {item.MealName}\n" +
                    $"Description: {item.MealDesc}\n" +
                    $"Ingredients: {item.ItemIngredients}\n" +
                    $"Price: {item.Price}\n");
            }
        }
Example #2
0
 public void ReturnListOfItems()
 {
     menuOperations.GetMenuList();
 }