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

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

            return(Json(rst));
        }
Beispiel #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));
        }
Beispiel #4
0
        public ActionResult Menu()
        {
            var list = menuBll.GetList();

            return(View(list));
        }