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.");
 }