title: If(ModelState.IsValid==false) return View(); or View(model);?
body: <p>When validation fails, which one I should return? View(); or View(model); ?</p>
  
  <p>I notice both work. It is confusing.</p>
  
  <p>EDIT:</p>
  
  <pre><code>public class MoviesController : Controller
  {
      MoviesEntities db = new MoviesEntities();
  
      //
      // GET: /Movies/
  
      public ActionResult Index()
      {
          var movies = from m in db.Movies
                       select m;
          return View(movies.ToList());
      }
  
      public ActionResult Create()
      {
          return View();
      }
  
      [HttpPost]
      public ActionResult Create(Movie movie)
      {
          if (ModelState.IsValid)
          {
              db.AddToMovies(movie);
              db.SaveChanges();
  
              return RedirectToAction("Index");
          }
          else
              return View();//View(movie);
      }
  }
  </code></pre>
  
  <p>My Create.aspx:</p>
  
  <pre><code>&lt;% using (Html.BeginForm()) {%&gt;
      &lt;%: Html.ValidationSummary(true) %&gt;
  
      &lt;fieldset&gt;
          &lt;legend&gt;Fields&lt;/legend&gt;
  
  
          &lt;div class="editor-label"&gt;
              &lt;%: Html.LabelFor(model =&gt; model.Title) %&gt;
          &lt;/div&gt;
          &lt;div class="editor-field"&gt;
              &lt;%: Html.TextBoxFor(model =&gt; model.Title) %&gt;
              &lt;%: Html.ValidationMessageFor(model =&gt; model.Title) %&gt;
          &lt;/div&gt;
  
          &lt;div class="editor-label"&gt;
              &lt;%: Html.LabelFor(model =&gt; model.ReleaseDate) %&gt;
          &lt;/div&gt;
          &lt;div class="editor-field"&gt;
              &lt;%: Html.TextBoxFor(model =&gt; model.ReleaseDate) %&gt;
              &lt;%: Html.ValidationMessageFor(model =&gt; model.ReleaseDate) %&gt;
          &lt;/div&gt;
  
          &lt;div class="editor-label"&gt;
              &lt;%: Html.LabelFor(model =&gt; model.Genre) %&gt;
          &lt;/div&gt;
          &lt;div class="editor-field"&gt;
              &lt;%: Html.TextBoxFor(model =&gt; model.Genre) %&gt;
              &lt;%: Html.ValidationMessageFor(model =&gt; model.Genre) %&gt;
          &lt;/div&gt;
  
          &lt;div class="editor-label"&gt;
              &lt;%: Html.LabelFor(model =&gt; model.Price) %&gt;
          &lt;/div&gt;
          &lt;div class="editor-field"&gt;
              &lt;%: Html.TextBoxFor(model =&gt; model.Price) %&gt;
              &lt;%: Html.ValidationMessageFor(model =&gt; model.Price) %&gt;
          &lt;/div&gt;
  
          &lt;p&gt;
              &lt;input type="submit" value="Create" /&gt;
          &lt;/p&gt;
      &lt;/fieldset&gt;
  
  &lt;% } %&gt;
  
  &lt;div&gt;
      &lt;%: Html.ActionLink("Back to List", "Index") %&gt;
  &lt;/div&gt;
  </code></pre>