public void DeleteParticipant(string participantCode) { try { _participantsRepository.DeleteParticipant(participantCode); } catch (NotFoundParticipantException ex) { throw new HttpException(ex.Message); } }