14 lines
490 B
TypeScript
14 lines
490 B
TypeScript
import type { ISponsorDashboardPresenter } from '@racing/application/presenters/ISponsorDashboardPresenter';
|
|
import type { SponsorDashboardDTO } from '@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;
|
|
}
|
|
} |