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)); }
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)); }