Пример #1
0
        public ActionResult Edit(int id)
        {
            //SetViewBag();
            var dao   = new MenuDAO();
            var model = dao.GetMenuByID(id);

            return(View(model));
        }
Пример #2
0
 public static List <Menu> GetMenuByID(int TypeID)
 {
     return(MenuDAO.GetMenuByID(TypeID));
 }