title: Return List from Query
body: <p>I'm trying to return a list from a join query and having difficulty with the errors..</p>
  
  <p>here is my code:</p>
  
  <pre><code>public IList&lt;UniStock.Domain.Tables.Inventory&gt; SelectInventoryListByColourSizeGroup(string styleColour, string sizeGroup)
      {
          var db = new UniStockContext();
  
          IQueryable&lt;Domain.Tables.Inventory&gt; q = (from c in db.Inventories
                     join o in db.SizeGroupSizes
                     on c.Size.Trim() equals o.Description.Trim()
                     where (c.SytleColour == styleColour)
                     &amp;&amp; (o.SizeGroup.Description == sizeGroup)
                     select new
                     {
                         c
                     });
  
          return q;
      }
  </code></pre>
  
  <p>Error I'm seeing now is:</p>
  
  <blockquote>
    <p>Cannot implicitly convert type 'System.Linq.IQueryable' to System.Linq.IQueryable'. An explicit conversion exists (are you missing a cast?)`   </p>
  </blockquote>