title: Cannot implicitly convert WebApi
body: <p>I am working on a challenge and I have an error I cannot figure out. It says &quot;Cannot implicitly convert type 'HolidayChallenge.Models.Ornament.Ornament2ListItem[]' to 'System.Collections.Generic.IEnumerable&lt;HolidayChallenge.Data.Ornament2&gt; I am not at all sure how to fix this. The error is on the return query.ToArray(); line.</p>
  <pre><code>public IEnumerable&lt;Ornament2&gt; GetOrnaments()
          {
              using (var ctx = new ApplicationDbContext())
              {
                  var query =
                      ctx
                          .Ornaments
                          .Where(e =&gt; e.UserId == _userId)
                          .Select(
                              e =&gt;
                                  new Ornament2ListItem
                                  {
                                      Id = e.Id,
                                      Description = e.Description,
                                      TreeId = e.TreeId
                                  }
                                  );
                  return query.ToArray();
              }
          }
  </code></pre>
  <p>The code for the Ornament2ListItem follows:</p>
  <pre><code>namespace HolidayChallenge.Models.Ornament
  {
      public class Ornament2ListItem
      {
          [Key]
          public int Id { get; set; }
          public string Description { get; set; }
          public virtual List&lt;Ornament2&gt; Ornaments { get; set; }
          public int TreeId { get; set; }
      }
  }
  </code></pre>
  <p>The code for the Data layer follows:</p>
  <pre><code>namespace HolidayChallenge.Data
  {
      public class Ornament2
      {
          [Key]
          public int Id { get; set; }
          public Guid UserId { get; set; }
          public string Description { get; set; }
          public virtual List&lt;Ornament2&gt; Ornaments { get; set; }
          [ForeignKey(&quot;ChristmasTree&quot;)]
          public int TreeId { get; set; }
          [Required]
          public virtual ChristmasTree ChristmasTree { get; set; }
      }
  }
  </code></pre>
  <p>I would appreciate any help with this.</p>