public PatientsController(IPatientContext patientContext)
 {
     this.patientContext = patientContext;
 }
Пример #2
0
 public PatientsController(IPatientContext dbContext)
 {
     _dbContext = dbContext;
 }
Пример #3
0
 static ContextFactory()
 {
     _patientContext           = new PatientContext(new PatientsManager());
     _hospitalStructureContext = new HospitalStructureContext(new BlockManager(), new WardManager(), new RoomManager());
 }
Пример #4
0
 public PatientRepo(IPatientContext patientContext)
 {
     _context = patientContext;
 }
Пример #5
0
 public PatientRepository(IPatientContext context)
 {
     this.context = context ?? throw new NullReferenceException("De patiëntContext is leeg.");
 }