/**
  * @Method('GET')
  * @Route('users/rejectinvitation/{integer $invitationId}')
  * @param $invitationId
  * @throws \Exception
  */
 public function rejectInvitation($invitationId)
 {
     $service = new UsersServices($this->dbContext);
     $response = $service->replyToSpeakerInvitation(false, $invitationId);
     $this->processResponse($response);
     $this->redirect("Home", "Index");
 }
 /**
  * Authorize()
  * @return View
  * @throws \Exception
  */
 public function own() : View
 {
     $service = new UsersServices($this->dbContext);
     $response = $service->getSpeakerSchedule();
     $this->processResponse($response);
     return new View('Lectures', 'own', $response->getModel());
 }