Skip to content

Simple extension to make requested query string (parameters) compatible with any pagination.

Notifications You must be signed in to change notification settings

halilkocaoz/paquery

Repository files navigation

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.

About

Simple extension to make requested query string (parameters) compatible with any pagination.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages