public UnitOfWork( DataContext context, IPatientRepository patientRepository, ITechnicianRepository technicianRepository, IPhysicianRepository physicianRepository, IMedicalRecordRepository medicalRecordRepository, IMedicalRegistryRepository medicalRegistryRepository, IHealthCareProviderRepository healthCareProviderRepository ) { _context = context; this.PatientRepository = patientRepository; this.PhysicianRepository = physicianRepository; this.TechnicianRepository = technicianRepository; this.MedicalRecordRepository = medicalRecordRepository; this.MedicalRegistryRepository = medicalRegistryRepository; this.HealthCareProviderRepository = healthCareProviderRepository; }
public HealthCareProviderController(IHealthCareProviderRepository IHealthCareProviderRepository) { _IHealthCareProviderRepository = IHealthCareProviderRepository; }