예제 #1
0
 public void Hold(HoldMeetingCmd command)
 {
     var actionOwner = userRepository.GetBy(command.ActionOwnerUserName);
     var meeting = getBy(command.MeetingId, command.SyncId);
     if (meeting == null)
         return;
     meeting.Hold(actionOwner,command.AppType);
     meetingRepository.Update(meeting);
 }
예제 #2
0
 public void Hold(long meetingId, Guid syncId, AppType appType)
 {
     var userName = securityService.GetCurrentUserName();
     var command = new HoldMeetingCmd(meetingId, syncId, userName,appType);
     meetingService.Hold(command);
 }