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