예제 #1
0
 public Meeting GetMeeting(Guid meetingId)
 {
     RepositoryModels.Meeting persistedMeeting = meetingRepository.GetMeeting(meetingId);
     return(new Meeting
     {
         Name = persistedMeeting.Name,
         MeetingId = persistedMeeting.MeetingId
     });
 }
예제 #2
0
 public Meeting CreateMeeting(MeetingRequest meetingRequest)
 {
     RepositoryModels.Meeting persistedMeeting = meetingRepository.CreateMeeting(meetingRequest.Name);
     return(new Meeting
     {
         Name = persistedMeeting.Name,
         MeetingId = persistedMeeting.MeetingId
     });
 }