Hi
I am trying to use the ActionFilterAttribute in asp.net mvc. What I want to do is check if the users subscription is expired if it is I want to redirect the user to a page if not then do nothing.
But the methods that you can override are all void. So how do I do this? Like I don't even know how to unit test it either since it is void.
public override void OnActionExecuting(ActionExecutingContext filterContext)