public ActionResult Index(string key, int?page)
        {
            var lst = _MenuFunctionService.GetAllMenu(key);

            //Viewbag
            ViewBag.DDLActive = FunctionHelper.ActiveStatus();
            ViewBag.Keyword   = key;

            url = Request.Url.PathAndQuery;

            return(View(lst));
        }
Exemplo n.º 2
0
        public ActionResult Index(string key, int?page, string group = "")
        {
            var lst = _MenuFunctionService.GetAllMenu(key, group);

            //Viewbag
            ViewBag.DDLActive = FunctionHelper.ActiveStatus();
            ViewBag.Keyword   = key;
            //ViewBag.ListMenu = _MenuFunctionService.GetAll().ToList();

            ViewBag.GroupID        = group;
            ViewBag.listGroupAllow = listGroupAllow();

            return(View(lst));
        }