create
Pagination
Query
Method to create the query with the pagination parameters
Return
the paginated query as Params
Parameters
page
The number of the page to request to the backend
pageSize
The size of the result for the page