示例#1
0
        public IActionResult GetAll()
        {
            var bll = new MenuBll();
            var rst = bll.GetList("order by sort_no");

            return(Json(rst));
        }
示例#2
0
        public IActionResult GetList(Menu model)
        {
            var bll = new MenuBll();
            var rst = bll.GetList(model);

            return(Json(rst));
        }
示例#3
0
        public IActionResult GetParentList()
        {
            var bll = new MenuBll();
            var rst = bll.GetList("where pid is null or pid = '' order by sort_no");

            return(Json(rst));
        }
示例#4
0
        public ActionResult Menu()
        {
            var list = menuBll.GetList();

            return(View(list));
        }