title: How to return 404 with asp.net mvc view
body: <p>How  do I achieve the below functionality?</p>
  
  <p><strong>My controler</strong>:</p>
  
  <pre><code>if (something == null)
  {         
       //return the view with 404 http header
       return View();          
  }
  
    //return the view with 200 http header
    return View();
  </code></pre>