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