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

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


abstract class SammelVertraegeAkzeptierenOderAblehnenAbsendenPresenter extends \Kufer\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;
  }
}