public async Task <ConferenceResult> Get(Guid id) { var conference = await _repository.Get(new ConferenceSpecification(id)); if (conference == null) { throw new EntityNotFoundException(); } return(Map(conference)); }
public async Task <CommunityResult> Get(Guid id) { var community = await _repository.Get(new CommunitySpecification(id)); if (community == null) { throw new EntityNotFoundException(); } return(Map(community)); }
public async Task <SpeakerResult> Get(Guid id) { var speaker = await _repository.Get(new SpeakerSpecification(id)); if (speaker == null) { throw new EntityNotFoundException(); } return(Map(speaker)); }