public IActionResult GetAll() { var bll = new MenuBll(); var rst = bll.GetList("order by sort_no"); return(Json(rst)); }
public IActionResult GetList(Menu model) { var bll = new MenuBll(); var rst = bll.GetList(model); return(Json(rst)); }
public IActionResult GetParentList() { var bll = new MenuBll(); var rst = bll.GetList("where pid is null or pid = '' order by sort_no"); return(Json(rst)); }
public ActionResult Menu() { var list = menuBll.GetList(); return(View(list)); }