public CliniciansController( IPatientRepository patientRepo, IEmergencyRepository emergencyRepo, IClinicianRepository clinicianRepo, IAppointmentRepository appointmentRepo) { _patientRepo = patientRepo; _emergencyRepo = emergencyRepo; _clinicianRepo = clinicianRepo; _appointmentRepo = appointmentRepo; }
public EmergencyController(IEmergencyRepository repo) { this.repo = repo; }
public EmergencyService(IEmergencyRepository emergencyRepository) { _emergencyRepository = emergencyRepository; }
public EmergencyControllerTests() { repo = Substitute.For <IEmergencyRepository>(); underTest = new EmergencyController(repo); }