Beispiel #1
0
        //
        // GET: /Admin/Menu/ItemEdit

        public ActionResult ItemEdit(int id = 0)
        {
            MenuItemModel menuItem = null;

            using (MenuContext context = new MenuContext())
            {
                menuItem = context.GetMenuItem(id);

                //ViewBag.MenuItemTypes = context.GetMenuItemTypes(menuItem.TypeID);
            }
            return(View(menuItem));
        }