Пример #1
0
        // #2 View Menu
        private void ViewMenu()
        {
            Console.Clear();

            List <CafeLibrary> listOfData = _dataRepo.GetCafeLibaries();

            foreach (CafeLibrary data in listOfData)
            {
                Console.WriteLine($"{data.MealNumber}, {data.MealName},\n" +
                                  $"{data.Description},\n" +
                                  $"Ingredients:\n" +
                                  $"{data.Ingredients},\n" +
                                  $"Price:\n" +
                                  $"{data.Price}");
            }
        }