website refactor
This commit is contained in:
@@ -50,11 +50,11 @@ export type GetSeasonSponsorshipsErrorCode =
|
||||
| 'REPOSITORY_ERROR';
|
||||
|
||||
export class GetSeasonSponsorshipsUseCase {
|
||||
constructor(private readonly seasonSponsorshipRepository: ISeasonSponsorshipRepository,
|
||||
private readonly seasonRepository: ISeasonRepository,
|
||||
private readonly leagueRepository: ILeagueRepository,
|
||||
private readonly leagueMembershipRepository: ILeagueMembershipRepository,
|
||||
private readonly raceRepository: IRaceRepository) {}
|
||||
constructor(private readonly seasonSponsorshipRepository: SeasonSponsorshipRepository,
|
||||
private readonly seasonRepository: SeasonRepository,
|
||||
private readonly leagueRepository: LeagueRepository,
|
||||
private readonly leagueMembershipRepository: LeagueMembershipRepository,
|
||||
private readonly raceRepository: RaceRepository) {}
|
||||
|
||||
async execute(
|
||||
input: GetSeasonSponsorshipsInput,
|
||||
|
||||
Reference in New Issue
Block a user