title: button created using Ajax Action Link does not load database data when button clicked
body: <p>Aim: Create a button on the index (home) page that load movies with a status of "View All" from data that has been seeded from database. The button, when clicked, does not direct the user to a different web page but enables the user to stay of the same web page. I created an Ajax.ActionLink on the Index View and created a _ViewAll view file which contains a foreach loop to produce a list of movies with status of "View All". The Controller contains a partialviewresult ViewAll () method that produces a list of movies with the status="View All". </p>
  
  <p>Problem: when I click the "View All" button on the index website, no data is displayed/no movies with status=="View All" is loaded onto the same index page when "View All" button clicked.</p>
  
  <p>Attempted Resolution: I have js unobtrusive and jquery scripts included on the _Layout view page. I have also followed many tutorials and can't seem to figure out what this issue is. Thank you for your time.</p>
  
  <p>Here is my ViewAll method from StoreController:</p>
  
  <pre><code>    public ActionResult ViewAll ()
      {
  
          var movie = storeDB.Movies
                              .Include("MovieStatus")
                              .Where(g =&gt; g.MovieStatus.Status == "View All");
          ;
          return PartialView("_ViewAll", movie.ToList());
  </code></pre>
  
  <p>Here is my Index view:</p>
  
  <pre><code>  @ model  IEnumerable&lt;Cinema1.Models.Movie&gt;
  
  
  
    &lt;p&gt;   
    &lt;div id="View All"&gt;
  
  
          @Ajax.ActionLink("Please Click", "ViewAll", "Store",
          new AjaxOptions
           {
             UpdateTargetId = "View All",
             InsertionMode = InsertionMode.Replace,
              HttpMethod = "GET"
           },
           new { @class = "btn btn-default" });
  
  
       &lt;/div&gt;
    &lt;/p&gt;
  </code></pre>
  
  <p>Here is my _ViewAll view:</p>
  
  <pre><code> @model  IEnumerable&lt;Cinema1.Models.Movie&gt;
  
          &lt;ul&gt;
              @foreach (var Movies in Model)
              {
                  &lt;li&gt;
                      @Movies.Title
                  &lt;/li&gt;
                  &lt;li&gt;@Movies.MovieStatus.Status&lt;/li&gt;
              }
          &lt;/ul&gt;
  </code></pre>