Description:
Implement the API endpoint to fetch cities and departments. This will aggregate the list of cities from the Cities table and departments from the Departements table, returning them in a combined list.
Acceptance Criteria:
[ ] Create an endpoint GET /api/city that retrieves a combined list of cities and departments.
[ ] Protect the endpoint with CanViewData authorization policy to ensure only authorized users can access the data.
[ ] Return the cities and departments as a list of objects in the response.
Description: Implement the API endpoint to fetch cities and departments. This will aggregate the list of cities from the Cities table and departments from the Departements table, returning them in a combined list.
Acceptance Criteria:
[ ] Create an endpoint GET /api/city that retrieves a combined list of cities and departments.
[ ] Protect the endpoint with CanViewData authorization policy to ensure only authorized users can access the data.
[ ] Return the cities and departments as a list of objects in the response.