title: How do you interrupt/intercept MVC Actions using ActionFilters?
body: <p>Feel free to close this one if it s a duplicate. I couldn't find an answer.</p>
  
  <p>I wish to be able to place a <code>System.Web.ActionFilterAttribute</code> on an Action Method and override the <code>OnActionExecuting</code> method to insert business logic which determines if the Action should be fulfilled. </p>
  
  <p>Can the <code>ActionExecutingContext</code> be used to cancel the executing Action Method and do one of the following:</p>
  
  <ul>
  <li>Send an HTTP Status Code (and the corresponding <code>&lt;customError&gt;</code> page). </li>
  <li>Execute a different Action Method within the same Controller.</li>
  </ul>