Beispiel #1
0
        public ActionResult EditMenu(int?id)
        {
            var menuModel = _menuManager.Get(id.Value);

            var menuViewModel = new MenuViewModel {
                Id        = menuModel.Id,
                TitleMenu = menuModel.TitleMenu,
                Code      = menuModel.Code,
            };

            return(View(menuModel));
        }