Hello,
I've this action filter that executes before all the action methods executes.
protected override void OnActionExecuting(ActionExecutingContext filterContext)
{
//code omitted
UpdateModel(MyModel);
}
I want this action to update the model when actions A, B, C are supposed to execute, not D. How do I prevent this filter action from updating the model when D will execute? So is it possible to know using the ActionExecutingContent filterContext above?
Thanks