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