public ActionResult IndexHardened(int?startIndex, int?amount, string sortParameter, MPL.MVC.GenericFilter filter, string ModuleID) { //base.ResetBackToListUrl(filter); this.SetViewBag(ModuleID); if (this.checkPageAuthority(ModuleID, SystemConstants.str_permission_View)) { return(base.Index(startIndex, amount, sortParameter, filter)); } else { return(this.ActionResultRedirectToHome()); } }
public virtual ActionResult IndexFunction(int?startIndex, int?amount, string sortParameter, MPL.MVC.GenericFilter filter, string ModuleID) { return(base.Index(startIndex, amount, sortParameter, filter)); }
public override ActionResult Index(int?startIndex, int?amount, string sortParameter, MPL.MVC.GenericFilter filter) { return(this.IndexHardened(startIndex, amount, sortParameter, filter, this.ModuleID)); }
public override ActionResult Index(int?startIndex, int?amount, string sortParameter, MPL.MVC.GenericFilter filter) { this.PreSet(); if (this.checkPageAuthority(ModuleID, SystemConstants.str_permission_View)) { return(IndexFunction(startIndex, amount, sortParameter, filter, ModuleID)); } else { return(this.ActionResultRedirectToHome()); } }