I want to do something like this
[MyAttribute(Message="Please upgrade to view " + name)]
public ActionResult Details(string name)
{
....
}
I know I can call filterContext.ActionDescriptor.GetParameters() from inside the attribute code itself, but is there any way to use them in the controller?