title: Pagination in a .NET Core API Project
body: <p>I am trying to implement pagination on <code>.NET Core</code> <code>RESTful</code> API's (with <code>EF</code>). </p>
  
  <p>Rather than re-inventing the wheel, I was hoping there was a way to either use a generic function that could hook into the API handler and intercept requests to apply them to <code>EF</code> Query results or something built into <code>.NET Core</code> that I am un-aware of. Can anyone point me in the general direction of a library that they are aware of that does this in <code>.NET Core</code></p>
  
  <p>The way I would previously do this (and have done in non .NET Core apps) is to make a function that I have to physically add the parameters to the controller function (pageSize, pageNumber) which does get tedious (and I think a tad untidy) to add these two parameters to every single function. </p>