/**
  * @param $lectureId
  * @param $participantId
  * @Method('POST', 'GET')
  * @Route('lectures/{integer $lectureId}/deleteparticipant/{integer $participantId}')
  * @throws \Exception
  */
 public function deleteParticipant(integer $lectureId, integer $participantId)
 {
     $service = new LecturesService($this->dbContext);
     $result = $service->deleteParticipant($lectureId, $participantId);
     $this->processResponse($result);
     $this->redirect('conferences', 'own');
 }