Esempio n. 1
0
        public IActionResult SelectActiveMenuItems()
        {
            var allItems = _cathedralKitchenRepository.GetMenuItems();
            var Menu     = new MenuViewModel
            {
                MenuItems = allItems
            };

            return(View(Menu));
        }
Esempio n. 2
0
 public IEnumerable <MenuItem> GetAllItems()
 {
     return(_cathedralKitchenRepository.GetMenuItems());
 }