예제 #1
0
        public IActionResult List()
        {
            var model = _storage.GetFullList();

            return(View(model));
        }
예제 #2
0
 public IActionResult Create()
 {
     ViewBag.Menus  = _menuStorage.GetFullList();
     ViewBag.Orders = _ordersStorage.GetFullList();
     return(View());
 }