public IActionResult Index() { var list = _SysManagerService.GetList(); var menulist = _SysMenuService.GetList(); return(View()); }
public IActionResult Edit(string id) { ViewBag.Menulist = _ISysMenuServices.GetList(); if (!string.IsNullOrEmpty(id)) { var model = _ISysButtonServices.Get(id); return(View(model)); } else { return(View()); } }
public List <SysMenu> GetMenuList() { return(_ISysMenuServices.Nesting(_ISysMenuServices.GetList(true))); }