Ejemplo n.º 1
0
        // GET: Index
        public ActionResult Index()
        {
            //获取用户导航信息,及用户信息
            AdminUserService service = new AdminUserService();
            var navs = service.GetSysUserMenusByRole(CurrentUser.RoleID);

            ViewBag.UserInfo = CurrentUser;
            return(View(navs));
        }