import type { RejectSponsorshipRequestResult } from '@core/racing/application/use-cases/RejectSponsorshipRequestUseCase';

export class RejectSponsorshipRequestPresenter {
  private result: RejectSponsorshipRequestResult | null = null;

  reset() {
    this.result = null;
  }

  present(output: RejectSponsorshipRequestResult | null) {
    this.result = output ?? null;
  }

  getViewModel(): RejectSponsorshipRequestResult | null {
    return this.result;
  }

  get viewModel(): RejectSponsorshipRequestResult | null {
    return this.result;
  }
}
