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

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

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

    return $viewModel;
  }
}