/**
  * action update
  *
  * @param \PoiCom\PcEventScheduler\Domain\Model\Participant $participant
  * @return void
  */
 public function updateAction(\PoiCom\PcEventScheduler\Domain\Model\Participant $participant)
 {
     $this->addFlashMessage('The object was updated. Please be aware that this action is publicly accessible unless you implement an access check. See http://wiki.typo3.org/T3Doc/Extension_Builder/Using_the_Extension_Builder#1._Model_the_domain', '', \TYPO3\CMS\Core\Messaging\AbstractMessage::ERROR);
     $this->participantRepository->update($participant);
     $this->redirect('list');
 }