public PatientsController(IPatientContext patientContext) { this.patientContext = patientContext; }
public PatientsController(IPatientContext dbContext) { _dbContext = dbContext; }
static ContextFactory() { _patientContext = new PatientContext(new PatientsManager()); _hospitalStructureContext = new HospitalStructureContext(new BlockManager(), new WardManager(), new RoomManager()); }
public PatientRepo(IPatientContext patientContext) { _context = patientContext; }
public PatientRepository(IPatientContext context) { this.context = context ?? throw new NullReferenceException("De patiëntContext is leeg."); }