コード例 #1
0
        public ActionResult MainMenu()
        {
            MainMenuModel mnmodel  = new MainMenuModel();
            var           menulist = mnmodel.GetMenuList();

            return(PartialView("_MainMenuPartial", menulist));
        }
コード例 #2
0
        public ActionResult MainMenuPartiview()
        {
            MainMenuModel model    = new MainMenuModel();
            var           MenuList = model.GetMenuList();

            return(PartialView(MenuList));
        }