private void UpdateAppointment()
        {
            var updatedAppointment = GetAppointmentFromFields();
            var date = updatedAppointment.start;

            updatedAppointment.appointmentId = appointmentAggregate.Id;
            updatedAppointment.createDate    = appointmentAggregate.CreateDate;
            updatedAppointment.createdBy     = appointmentAggregate.CreatedBy;
            appointmentService.Update(updatedAppointment);

            var reminder = reminderService.FindByAppointmentId(appointmentAggregate.Id);

            reminder.reminderDate = date.AddMinutes(-5) < DateTime.Now ?
                                    date.AddMinutes(-(updatedAppointment.start - DateTime.Now).TotalMinutes + 1)
                : date.AddMinutes(-5);

            reminderService.Update(reminder, reminder.reminderId);
        }