wip
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import type { ILeagueSchedulePreviewPresenter } from '@racing/application/presenters/ILeagueSchedulePreviewPresenter';
|
||||
import type { LeagueSchedulePreviewDTO } from '@racing/application/dto/LeagueScheduleDTO';
|
||||
|
||||
export class LeagueSchedulePreviewPresenter implements ILeagueSchedulePreviewPresenter {
|
||||
private data: LeagueSchedulePreviewDTO | null = null;
|
||||
|
||||
present(data: LeagueSchedulePreviewDTO): void {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
getData(): LeagueSchedulePreviewDTO | null {
|
||||
return this.data;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user