Show eligibility status
@DSASanFrancisco/portal-members
Created by: @dbolson (with edits from @jeffmay)
I separated the query in /member/list
that finds a list of members and their eligibility status to be in a separate object, the AttendeeRepository
. This object is responsible for database access and turning the results into a domain model (currently an AttendeeModel
). This is a very basic repository pattern that gives us more SRP, making each part easier to change and test.
Edited by Danny Olson