public void CreateParticipant(Participant participant) { try { _participantsRepository.CreateParticipant(participant); } catch (DuplicateParticipantException ex) { throw new HttpException(ex.Message); } }
public void CreateParticipant(Participant participant) { try { _participantsRepository.CreateParticipant(participant); } catch (DuplicateParticipantException ex) { throw new HttpException(ex.Message); } }