title: How to make an anonymous public async task
body: <p>I have a method I have made that returns a object as a list. Down the line I realized I had to join a few tables for my result. The problem comes in my return statement which states:</p>
  
  <blockquote>
    <p>Cannot implicitly convert type System.Collections.Generic.List&lt;> to System.Collections.Generic.List&lt;>. </p>
  </blockquote>
  
  <p>How can I fix my code so that I can return my joined results? Here is my code:</p>
  
  <pre><code>public async Task&lt;List&lt;McaMswcomapnionAuditCardPinrecords&gt;&gt; SearchPinRecords(string Region, [FromQuery] PaginationDTO pagination)
  {
  
      var queryable = (from pinRecords in context.McaMswcomapnionAuditCardPinrecords
                       join transitRecords in context.AbmProdRegionTransitRecordsNew on pinRecords.TransitRecordId equals transitRecords.Id
                       join transitDescription in context.CommonTransitRecords on transitRecords.TransitRecordId equals transitDescription.Id
                       where pinRecords.RegionRecordId == Region &amp;&amp; pinRecords.AuditComplete == false
                       select new
                       {
  
  
                       }
                       );
  
      await HttpContextExtensions.GetPage&lt;McaMswcomapnionAuditCardPinrecords&gt;(queryable, pagination.Page, pagination.QuantityPerPage);
      return await queryable.Paginate(pagination).ToListAsync();
  }
  </code></pre>