public BaseService(HappContext dbContext) { emrRepository = new EMRRepository(dbContext); codeRepository = new CodeRepository(dbContext); queriseRepository = new QueriseRepository(dbContext); sessionRepository = new SessionRepository(dbContext); doctorRepository = new DoctorRepository(dbContext); patientRepository = new PatientRepository(dbContext); }
public CAService(IDoctorRepository doctorRepository, IPaientRepository paientRepository) { this.doctorRepository = doctorRepository; this.paientRepository = paientRepository; }