Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 608 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 608 Bytes

paquery

Simple extension for your API to make requested(IQueryCollection) query string(parameters) compatible with any pagination.

api-response

Usage: Code Example

// * Example
var pagination = Request.CreatePagination(totalPageCount: totalPageCount, currentPage: page, pageQueryKey: "page");

return Ok(new { pagination, movies = _movies });

Look at MoviesController.cs for detailed example.