public ReplacedAction(ICommandService commandService, ReplaceAppointment replaceAppointmentCommand, Patient patient, TherapyPlace originalTherapyPlace, TherapyPlace newTherapyPlace) { this.commandService = commandService; this.replaceAppointmentCommand = replaceAppointmentCommand; this.patient = patient; this.originalTherapyPlace = originalTherapyPlace; this.newTherapyPlace = newTherapyPlace; }
public ReplacedAction BuildReplacedAction(ReplaceAppointment command, Patient patient, TherapyPlace originalTherapyPlace, TherapyPlace newTherapyPlace) { return(new ReplacedAction(commandService, command, patient, originalTherapyPlace, newTherapyPlace)); }