<?php
/**
 * @copyright (c) Kufer Software GmbH, Loisachstrasse 4, D-84453 Mühldorf
 */

namespace Kufer\KuferTools\Veranstalter\KursVorschlag\HandleKursortDataTable;

class HandleKursortDataTableController extends \Kufer\KuferTools\Basis\Controller\AjaxToolController
{
  protected function getUseCase(): \Kufer\KuferTools\Basis\UseCase\UseCase
  {
    return new HandleKursortDataTableUseCase(
      $this->getRequestObj()
    );
  }

  protected function getRequestObj()
  {
    return new HandleKursortDataTableRequest();
  }

  protected function getPresenter($pUseCaseResponse)
  {
    return new HandleKursortDataTablePresenter($pUseCaseResponse);
  }
}