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

namespace Kufer\Web\KuferTools\Basis\DozentenInfo\UpdateDozent;

abstract class UpdateDozentPresenter extends \Kufer\Web\KuferTools\Basis\Presenter\Presenter
{
  protected function getViewModel()
  {
    $viewModel = new UpdateDozentViewModel();
    $viewModel->columns = $this->useCaseResponse->columns;
    $viewModel->dozent = $this->useCaseResponse->dozent;
    $viewModel->toolSection = $this->useCaseResponse->toolSection;
    $viewModel->toolSettings = $this->useCaseResponse->toolSettings;

    return $viewModel;
  }
}