Skip to content

Move core committee API logic into a service.

Jimmy Cuadra requested to merge jimmycuadra/committee-service into dev

@DSASanFrancisco/portal-members

This PR adds a new CommitteeService class to contain all the logic related to the committee API that is not concerned with HTTP. The existing committee API routes now simply extract the necessary from data from HTTP request, call the service, and return JSON versions of the service's responses. This will allow the committee logic to be used from anywhere else in the application without needing an HTTP request as context.

Merge request reports