Exemplo n.º 1
0
        public JsonResult MakeMenu()
        {
            AjaxResult <int> result = new AjaxResult <int>();
            var s = SysModule.InitPermission();
            int i = sysMenuManager.MakeMenu(s);

            result.data = i;
            return(Json(result));
        }
Exemplo n.º 2
0
        public JsonResult MakeMenu()
        {
            AjaxResult        result      = new AjaxResult();
            var               s           = SysModule.InitPermission();
            WebSYSMenuManager menuManager = new WebSYSMenuManager();
            int               i           = menuManager.MakeMenu(s);

            result.data = i;
            return(Json(result));
        }