title: The model item passed into the dictionary is of type 'System.Collections.Generic.List`1[SecundaireSchool.Models.tblRapporten]'
body: <p>The model item passed into the dictionary is of type <code>System.Collections.Generic.List'1[SecundaireSchool.Models.tblRapporten]</code>, but this dictionary requires a model item of type <code>SecundaireSchool.Models.tblRapporten</code>.</p>
  
  <p>Model <strong>tblStudenten</strong></p>
  
  <pre><code>public partial class tblStudenten
  {
      [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
      public tblStudenten()
      {
          this.tblRapportens = new HashSet&lt;tblRapporten&gt;();
      }
  
      public int student_id { get; set; }
      public string naam { get; set; }
      public string voornaam { get; set; }
      public string emailadres { get; set; }
      public string foto { get; set; }
      public int klas_id { get; set; }
  
      public virtual tblKlassen tblKlassen { get; set; }
      [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
      public virtual ICollection&lt;tblRapporten&gt; tblRapportens { get; set; }
      public virtual IEnumerable&lt;SelectListItem&gt; Klassen { get; set; }
  }
  </code></pre>
  
  <p>Model <strong>tblRapporten</strong></p>
  
  <pre><code>public partial class tblRapporten
  {
      public int rapport_id { get; set; }
      public double punt { get; set; }
      public int vak_id { get; set; }
      public int student_id { get; set; }
  
      public virtual tblStudenten tblStudenten { get; set; }
      public virtual tblVakken tblVakken { get; set; }
  }
  </code></pre>
  
  <p>StudentController</p>
  
  <pre><code>public ActionResult Report(int id)
      {
          return View(db.tblRapportens.Where(r =&gt; r.student_id == id).ToList());
      }
  </code></pre>
  
  <p>View Report</p>
  
  <pre><code>@model SecundaireSchool.Models.tblRapporten
  
  @{
      ViewBag.Title = "Report";
  }
  
  &lt;h2&gt;Report&lt;/h2&gt;
  
  &lt;div&gt;
  &lt;h4&gt;tblRapporten&lt;/h4&gt;
  &lt;hr /&gt;
  &lt;dl class="dl-horizontal"&gt;
      &lt;dt&gt;
          @Html.DisplayNameFor(model =&gt; model.punt)
      &lt;/dt&gt;
  
      &lt;dd&gt;
          @Html.DisplayFor(model =&gt; model.punt)
      &lt;/dd&gt;
  
      &lt;dt&gt;
          @Html.DisplayNameFor(model =&gt; model.tblStudenten.naam)
      &lt;/dt&gt;
  
      &lt;dd&gt;
          @Html.DisplayFor(model =&gt; model.tblStudenten.naam)
      &lt;/dd&gt;
  
      &lt;dt&gt;
          @Html.DisplayNameFor(model =&gt; model.tblVakken.vak)
      &lt;/dt&gt;
  
      &lt;dd&gt;
          @Html.DisplayFor(model =&gt; model.tblVakken.vak)
      &lt;/dd&gt;
  
      &lt;/dl&gt;
  &lt;/div&gt;
      &lt;p&gt;
          @Html.ActionLink("Edit", "Edit", new { id = Model.rapport_id }) |
          @Html.ActionLink("Back to List", "Index")
      &lt;/p&gt;
  </code></pre>
  
  <p>I know that there is something wrong with the List of my controller, but I don't how to fix this.
  Anyone?</p>