wip
This commit is contained in:
16
apps/website/lib/presenters/AllRacesPagePresenter.ts
Normal file
16
apps/website/lib/presenters/AllRacesPagePresenter.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import type {
|
||||
IAllRacesPagePresenter,
|
||||
AllRacesPageViewModel,
|
||||
} from '@gridpilot/racing/application/presenters/IAllRacesPagePresenter';
|
||||
|
||||
export class AllRacesPagePresenter implements IAllRacesPagePresenter {
|
||||
private viewModel: AllRacesPageViewModel | null = null;
|
||||
|
||||
present(viewModel: AllRacesPageViewModel): void {
|
||||
this.viewModel = viewModel;
|
||||
}
|
||||
|
||||
getViewModel(): AllRacesPageViewModel | null {
|
||||
return this.viewModel;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user