title: How do I disable an MVC controller by code?
body: <p>I am using <a href="https://www.nuget.org/packages/Microsoft.Owin.SelfHost/" rel="nofollow">SelfHost/Katana/Owin</a> for my WebServer. 
  I have a Controller in there that I want to enable/disable by code depending on a command line argument at launch time.</p>
  
  <p>Is there a simple way of doing this in MVC?</p>
  
  <p>Right now I'm thinking in the Controller's code to return HTTP-NotFound status code when this config is disabled, any better ideas?</p>