Simple extension for your API to make requested(IQueryCollection) query string(parameters) compatible with any pagination.
// * Example
var pagination = Request.CreatePagination(totalPageCount: totalPageCount, currentPage: page, pageQueryKey: "page");
return Ok(new { pagination, movies = _movies });
Look at MoviesController.cs for detailed example.