public Meeting GetMeeting(Guid meetingId) { RepositoryModels.Meeting persistedMeeting = meetingRepository.GetMeeting(meetingId); return(new Meeting { Name = persistedMeeting.Name, MeetingId = persistedMeeting.MeetingId }); }
public Meeting CreateMeeting(MeetingRequest meetingRequest) { RepositoryModels.Meeting persistedMeeting = meetingRepository.CreateMeeting(meetingRequest.Name); return(new Meeting { Name = persistedMeeting.Name, MeetingId = persistedMeeting.MeetingId }); }