public ActionResult TopMenu()
        {
            var dao   = new MenuDao();
            var model = dao.ListByGroupId(2);

            return(PartialView(model));
        }
示例#2
0
        // GET: Admin/Menu
        public ActionResult Index()
        {
            var db    = new MenuDao();
            var model = db.ListByGroupId(2);

            return(View(model));
        }