title: Passing a List through the controller into the IEnumerable view ASP.NET MVC 4
body: <p>I have connected sub-category tables to the main table in my models. A structure similar to the one below.</p>
  
  <p><img src="https://i.stack.imgur.com/R7Aoc.png" alt="Structure of my sql"></p>
  
  <p>However, I need to access information from different tables (sub-tables) into my main table, "Article". So I have written additional code into my ArticleController in the Index as shown below.</p>
  
  <p><b>CONTROLLER:</b></p>
  
  <pre><code>    public ActionResult Index()
      {
  
          var articles = db.DataToArticles.Include(a =&gt; a.AgeGroup).Include(a =&gt; a.Disabilities).Include(a =&gt; a.StrategyType);
  
          return View(articles.ToList());
      } 
  </code></pre>
  
  <p>"DataToArticles" is similar to the "StrategyTypeToArticle" table above. </p>
  
  <p>Here is my Data Access Layer, which I haven't had any issues with<br>
  <b>DAL:</b></p>
  
  <pre><code>public class ArticleEntities : DbContext
  {
      public DbSet&lt;AgeGroup&gt; AgeGroups { get; set; }
      public DbSet&lt;Disabilities&gt; Disabilitiess { get; set; }
      public DbSet&lt;StrategyType&gt; StrategyTypes { get; set; }
      public DbSet&lt;Article&gt; Articles { get; set; }
      public DbSet&lt;UserProfile&gt; Profiles { get; set; }
      public DbSet&lt;DataToArticle&gt; DataToArticles { get; set; }
  
  
      protected override void OnModelCreating(DbModelBuilder modelBuilder)
      {
          modelBuilder.Conventions.Remove&lt;PluralizingTableNameConvention&gt;();
          modelBuilder.Conventions.Remove&lt;OneToManyCascadeDeleteConvention&gt;();
      }
  }
  </code></pre>
  
  <p>Now to my view, which is giving me an error.<br>
  <b> View</b><br></p>
  
  <pre><code>@model IEnumerable&lt;LearningEnterprises.Models.Article&gt;
  </code></pre>
  
  <p><br><b>The Problem</b><br>
  The issue is passing the articles variable in the controller to my view IEnumberable. I know it is passing it as a List, but I haven't had issues with this before.Is there a way around this?</p>