Description:
Develop an endpoint to retrieve a paginated, filtered, and sorted list of keys. The endpoint will process a query containing filtering, sorting, and pagination options to fetch a list of Key objects.
Acceptance Criteria::
Implement a GET action in the controller that accepts a GetKeysQuery object as query parameter.
Return the result asynchronously.
Filtering:
Filter keys by SearchText, Modules, and DateRange if provided.
Sorting:
Sort the results by the specified SortProperty.
Pagination:
Implement pagination using PageSize and PageNumber properties.
Response Handling:
Return a list of Key objects.
Description:
Develop an endpoint to retrieve a paginated, filtered, and sorted list of keys. The endpoint will process a query containing filtering, sorting, and pagination options to fetch a list of Key objects.
Acceptance Criteria::
Implement a GET action in the controller that accepts a GetKeysQuery object as query parameter.
Return the result asynchronously.
Filtering:
Filter keys by SearchText, Modules, and DateRange if provided.
Sorting:
Sort the results by the specified SortProperty.
Pagination:
Implement pagination using PageSize and PageNumber properties.
Response Handling:
Return a list of Key objects.