refactor core presenters
This commit is contained in:
@@ -18,6 +18,11 @@ export interface IRaceRegistrationRepository {
|
||||
*/
|
||||
getRegisteredDrivers(raceId: string): Promise<string[]>;
|
||||
|
||||
/**
|
||||
* Get all registrations for a race.
|
||||
*/
|
||||
findByRaceId(raceId: string): Promise<RaceRegistration[]>;
|
||||
|
||||
/**
|
||||
* Get the number of registrations for a race.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user