14 lines
618 B
TypeScript
14 lines
618 B
TypeScript
import type { IEntitySponsorshipPricingPresenter } from '@gridpilot/racing/application/presenters/IEntitySponsorshipPricingPresenter';
|
|
import type { GetEntitySponsorshipPricingResultDTO } from '@gridpilot/racing/application/use-cases/GetEntitySponsorshipPricingUseCase';
|
|
|
|
export class EntitySponsorshipPricingPresenter implements IEntitySponsorshipPricingPresenter {
|
|
private data: GetEntitySponsorshipPricingResultDTO | null = null;
|
|
|
|
present(data: GetEntitySponsorshipPricingResultDTO | null): void {
|
|
this.data = data;
|
|
}
|
|
|
|
getData(): GetEntitySponsorshipPricingResultDTO | null {
|
|
return this.data;
|
|
}
|
|
} |