title: Return of the valid view from controller
body: <p>I have a method like this one:</p>
  
  <pre><code>  [HttpPost]
    public ActionResult Edit(ViewModel.MyViewModel viewModel)
    {
       // Code here to handle the save to the database and in the case 
           // where some validation are not accepted, return View(viewModel)
  
       return View("Index", viewModel);
    }
  </code></pre>
  
  <p>When I run this code and my viewModel is valid, I would like to return the user to the view with the list of items.</p>
  
  <p>I know that I must use the RedirectToAction("Index") in this case instead of the last line but I wonder to know why when I run this code and the last line is executed, MVC returns the Edit page instead of the List page.</p>
  
  <p>And for which reasons would I specify a view name in the parameters list of the View function if I'm not able to specify other than the view handled by the controller?</p>
  
  <p>Thank you.</p>