Can you provide a sample using Urlhelper.GenerateUrl within the Action Filter using only the Target Controller and Action Are you
var url = UrlHelper.GenerateUrl (empty, "action", "controller", empty , MargTab.Rout, HttpContext.Current.Request.RequestContext, Incorrect); or var urlHelper = new UrlHelper (HttpContext.Current.Request.RequestContext); Var url = urlHelper.Action ("verb", "controller");
Comments
Post a Comment