<?php
/**
 * @copyright (c) Kufer Software GmbH, Oderstraße 7, D-84453 Mühldorf
 */

namespace Kufer\Web\KuferTools\Dozent\SammelVertraege\AkzeptierenOderAblehnen\Absenden;


abstract class SammelVertraegeAkzeptierenOderAblehnenAbsendenPresenter extends \Kufer\Web\KuferTools\Basis\Presenter\MitRahmenPresenter
{
  protected function getViewModel()
  {
    $result = new SammelVertraegeAkzeptierenOderAblehnenAbsendenViewModel();
    $result->sammelvertraege = $this->useCaseResponse->sammelvertraege;
    $result->kurse = $this->useCaseResponse->kurse;
    $result->success = $this->useCaseResponse->success;
    $result->wortSingular = $this->useCaseResponse->wortSingular;
    $result->wortPlural = $this->useCaseResponse->wortPlural;

    return $result;
  }
}