How can I get route values from inside my OnActionExecuting
filter method.
I had the following two suggestions but I am still confused:
I think you're trying to preempt some controller action (like Delete
) with "enter code here":
protected override void OnActionExecuting(ActionExecutingContext filterContext)
{
string city = filterContext.ActionParameters["city"];
string street = filterContext.ActionParameters["street"];
// probably include this:
//base.OnActionExecuting(filterContext);
}