title: Return different views same controller in ASP.NET MVC
body: <p>I want to send the user to one of two different pages depending on the value of <code>isCustomerEligible</code>. When the value of that variable is set to false, it does call Index but then returns the view for <code>Customer</code> and not the view for <code>Index</code>. </p>
  
  <pre><code>public ViewResult Index()
  {
      return View();
  }
  
  public ViewResult Customer()
  {
      DetermineCustomerCode();
      DetermineIfCustomerIsEligible();
      return isCustomerEligible ? View() : Index();
  }
  </code></pre>