public JsonResult MakeMenu() { AjaxResult <int> result = new AjaxResult <int>(); var s = SysModule.InitPermission(); int i = sysMenuManager.MakeMenu(s); result.data = i; return(Json(result)); }
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)); }