title: Return View from Asp.Net MVC 4 Web API
body: <p>As I am working on <code>Asp.Net MVC 4 Web API</code>, I also need to return a <em>View on specific condition</em>. My flow is as given below:</p>
  
  <ol>
  <li>Third party application will call my Web API method. (e.g. User Authentication)</li>
  <li>If there is a valid Credential, I need to return HTTP status as a SUCCESS (200)</li>
  <li>If user is Invalid, I need to return a VIEW (Login View) from the same MVC application to ask for Credential. (in the view there will be a 'Register' link)</li>
  </ol>
  
  <p>So the point is, Is this possible to return both the <code>LOGIN View (html)</code> and a <code>WebResponse Status (200)</code> on different condition <em>by the same WEB API method?</em></p>
  
  <p>Thanks in advance.</p>