Files
gridpilot.gg/apps/website/lib/presenters/SponsorDashboardPresenter.ts
2025-12-11 21:06:25 +01:00

14 lines
510 B
TypeScript

import type { ISponsorDashboardPresenter } from '@gridpilot/racing/application/presenters/ISponsorDashboardPresenter';
import type { SponsorDashboardDTO } from '@gridpilot/racing/application/use-cases/GetSponsorDashboardUseCase';
export class SponsorDashboardPresenter implements ISponsorDashboardPresenter {
private data: SponsorDashboardDTO | null = null;
present(data: SponsorDashboardDTO | null): void {
this.data = data;
}
getData(): SponsorDashboardDTO | null {
return this.data;
}
}