title: PagedList and Async
body: <p>I'm using PagedList in my Views, but my scaffolded Controller is generated with this kind of default Index Action:</p>
  
  <pre><code>public async Task&lt;ActionResult&gt; Index()
  {
      return View(await db.Claimants.ToListAsync());
  }
  </code></pre>
  
  <p>I didn't find an extension for PagedList to work with <code>async</code>. My methods have to be changed to a form like this:</p>
  
  <pre><code>public ActionResult Index(int? page)
  {
      var claimants = db.Claimants.OrderBy(b =&gt; b.Name);
      var notNullPage = page ?? 1;
      return View(claimants.ToPagedList(notNullPage, 50));
  }
  </code></pre>
  
  <p>Is there a reasonable way to work with PagedList and <code>async</code>?</p>