//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"); } }
public void ReturnListOfItems() { menuOperations.GetMenuList(); }