Example #1
0
 public Add(IPatientManager patientManager, IEmergencyContactManager emergencyContactManager, IConsultationManager consultationManager, IAddressManager addressManager)
 {
     InitializeComponent();
     this.patientManager          = patientManager;
     this.emergencyContactManager = emergencyContactManager;
     this.consultationManager     = consultationManager;
     this.addressManager          = addressManager;
 }
 public PatientController(IPatientManager patientManager,
                          IAddressManager addressManager,
                          IEmergencyContactManager emergencyContactManager,
                          IConsultationManager consultationManager,
                          IAppointmentManager appointmentManager,
                          IPatientFactory patientFactory)
 {
     _patientManager          = patientManager;
     _addressManager          = addressManager;
     _emergencyContactManager = emergencyContactManager;
     _consultationManager     = consultationManager;
     _appointmentManager      = appointmentManager;
     _patientFactory          = patientFactory;
 }
Example #3
0
 public ConsultationController(IConsultationManager consultationManager,
                               IConsultationFactory consultationFactory)
 {
     _consultationManager = consultationManager;
     _consultationFactory = consultationFactory;
 }
Example #4
0
 public Read(Patient patient, IConsultationManager consultationManager)
 {
     InitializeComponent();
     this.patient             = patient;
     this.consultationManager = consultationManager;
 }