title: How to pass list from controller to view and display
body: <p>I try get datetime value from user and return selected screening of movie.
  Controller passed list to view, but html doesn't change.</p>
  <p>Contoller</p>
  <pre><code>public ActionResult GetScreenings()
              {
                  return View();
              }
      [HttpPost]
      public ActionResult GetScreenings(string starteDateTime, string endDateTime, string movieTitle)
      {
          List&lt;ScreeningDisplayDTO&gt; screeningsList = new List&lt;ScreeningDisplayDTO&gt;();
          if (String.IsNullOrEmpty(movieTitle))
          {
              screeningsList = screeningDisplayService.GetScreeningByParametr(starteDateTime, endDateTime).ToList();
          }
          else
          {
              screeningsList = screeningDisplayService.GetScreeningByParametr(starteDateTime, endDateTime, movieTitle).ToList();
  
          }
          return View(screeningsList);
  
      }
  </code></pre>
  <p>View</p>
  <pre><code> @if (Model != null &amp;&amp; Model.Count() &gt; 0)
                  {
                      foreach (var screening in Model)
                      {
                          
                         &lt;p class=&quot;offer-film-title&quot;&gt;@screening.MovieTitle&lt;/p&gt;
                      }
                  }
  </code></pre>
  <p>Ajax</p>
  <pre><code>$.ajax({
          traditional: true,
          type: &quot;POST&quot;,
          url: '@Url.Action(&quot;GetScreenings&quot;)',
          data: { 'starteDateTime': starteDateTime, 'endDateTime': endDateTime, 'movieTitle': movieTitle  },
          success: function () {
              window.location.href = data;
          }
      });
  </code></pre>
  <p>Thanks for help.</p>