コード例 #1
0
 public LibraryViewController(OneDirectContext context, ILogger <PainViewController> plogger, IPainInterface IPainRepository, ILibraryInterface ILibraryRepository, IEquipmentExerciseInterface EquipmentExerciseRepository, IPatientLibraryInterface IPatientLibraryRepository)
 {
     logger                          = plogger;
     this.context                    = context;
     lISessionRepository             = new SessionRepository(context);
     lIPainRepository                = IPainRepository;
     lIEquipmentAssignmentRepository = new AssignmentRepository(context);
     lILibraryRepository             = ILibraryRepository;
     lIPatientLibraryRepository      = IPatientLibraryRepository;
     lEquipmentExerciseRepository    = EquipmentExerciseRepository;
     IPatient                        = new PatientRepository(context);
 }
コード例 #2
0
 public PatientViewController(OneDirectContext context, ILogger <PatientViewController> plogger, IEquipmentExerciseInterface IEquipmentExerciseRepository, IPatientRxInterface IPatientRxRepository, IPatient lPatientRepository, ILibraryInterface ILibraryRepository, IPatientLibraryInterface IPatientLibraryRepository)
 {
     logger       = plogger;
     this.context = context;
     lIPatientReviewRepository     = new PatientReviewRepository(context);
     lIUserRepository              = new UserRepository(context);
     lIEquipmentExerciseRepository = IEquipmentExerciseRepository;
     lISessionAuditTrailRepository = new SessionAuditTrailRepository(context);
     lIPatientRxRepository         = IPatientRxRepository;
     lIPatient                  = lPatientRepository;
     lILibraryRepository        = ILibraryRepository;
     lIPatientLibraryRepository = IPatientLibraryRepository;
     lIMessageRepository        = new MessageRepository(context);
 }
コード例 #3
0
 public ReviewController(OneDirectContext context, ILogger <ReviewController> plogger, INewPatient lINewPatient, IPatientRxInterface IPatientRxRepository, IEquipmentExerciseInterface IEquipmentExerciseRepository, ILibraryInterface ILibraryRepository, IPatientLibraryInterface IPatientLibraryRepository)
 {
     lILibraryRepository           = ILibraryRepository;
     lIPatientLibraryRepository    = IPatientLibraryRepository;
     lIEquipmentExerciseRepository = IEquipmentExerciseRepository;
     logger       = plogger;
     this.context = context;
     IPatient     = new PatientRepository(context);
     lIPatientReviewRepository        = new PatientReviewRepository(context);
     lIPatientRxRepository            = IPatientRxRepository;
     lIUserRepository                 = new UserRepository(context);
     lIUserActivityLogRepository      = new UserActivityLogRepository(context);
     lIDeviceCalibrationRepository    = new DeviceCalibrationRepository(context);
     lIPatientConfigurationRepository = new PatientConfigurationRepository(context);
     INewPatient        = lINewPatient;
     lISessionInterface = new SessionRepository(context);
     lIAppointmentScheduleRepository = new AppointmentScheduleRepository(context);
     lIMessageRepository             = new MessageRepository(context);
 }