Пример #1
0
 public ProviderController(OneDirectContext context, ILogger <ProviderController> plogger)
 {
     logger                      = plogger;
     this.context                = context;
     lIPatientRxRepository       = new PatientRxRepository(context);
     lIUserRepository            = new UserRepository(context);
     lIUserActivityLogRepository = new UserActivityLogRepository(context);
 }
Пример #2
0
 public PatientAdministratorController(OneDirectContext context, ILogger <PatientAdministratorController> plogger)
 {
     logger                      = plogger;
     this.context                = context;
     lIUserRepository            = new UserRepository(context);
     lIProtocolInterface         = new ProtocolRepository(context);
     lIPatientRxRepository       = new PatientRxRepository(context);
     lIUserActivityLogRepository = new UserActivityLogRepository(context);
 }
Пример #3
0
 public ProviderController(OneDirectContext context, ILogger <ProviderController> plogger, IPatientRxInterface IPatientRxRepository, IEquipmentExerciseInterface IEquipmentExerciseRepository)
 {
     lIEquipmentExerciseRepository = IEquipmentExerciseRepository;
     logger                      = plogger;
     this.context                = context;
     lIPatientRxRepository       = IPatientRxRepository;
     lIUserRepository            = new UserRepository(context);
     lIUserActivityLogRepository = new UserActivityLogRepository(context);
 }
 public EquipmentController(OneDirectContext context, ILogger <EquipmentController> plogger)
 {
     logger                        = plogger;
     this.context                  = context;
     lIAssignmentInterface         = new AssignmentRepository(context);
     lIDeviceCalibrationRepository = new DeviceCalibrationRepository(context);
     lIUserRepository              = new UserRepository(context);
     lIUserActivityLogRepository   = new UserActivityLogRepository(context);
 }
 public InstallerController(OneDirectContext context, ILogger <InstallerController> plogger, IPatientRxInterface IPatientRxRepository)
 {
     logger                        = plogger;
     this.context                  = context;
     lIUserRepository              = new UserRepository(context);
     lIProtocolInterface           = new ProtocolRepository(context);
     lIPatientRxRepository         = IPatientRxRepository;
     lIDeviceCalibrationRepository = new DeviceCalibrationRepository(context);
     lIUserActivityLogRepository   = new UserActivityLogRepository(context);
 }
 public UserActivityLogController(OneDirectContext context, ILogger <UserActivityLogController> plogger)
 {
     logger                          = plogger;
     this.context                    = context;
     lIUserRepository                = new UserRepository(context);
     IPatient                        = new PatientRepository(context);
     lISessionRepository             = new SessionRepository(context);
     lIUserActivityLogRepository     = new UserActivityLogRepository(context);
     lIEquipmentAssignmentRepository = new AssignmentRepository(context);
 }
Пример #7
0
 public SupportController(OneDirectContext context, ILogger <SupportController> plogger, IPatientRxInterface lIPatientRx, IEquipmentExerciseInterface IEquipmentExerciseRepository)
 {
     logger = plogger;
     lIEquipmentExerciseRepository = IEquipmentExerciseRepository;
     this.context                = context;
     lIUserRepository            = new UserRepository(context);
     lIProtocolInterface         = new ProtocolRepository(context);
     lIPatientRxRepository       = lIPatientRx;
     lIUserActivityLogRepository = new UserActivityLogRepository(context);
 }
 public TherapistController(OneDirectContext context, ILogger <TherapistController> plogger, IPatientRxInterface lIPatientRx, IEquipmentExerciseInterface IEquipmentExerciseRepository, VTransactInterface IVTransactInterface)
 {
     lIEquipmentExerciseRepository = IEquipmentExerciseRepository;
     logger                      = plogger;
     this.context                = context;
     lIUserRepository            = new UserRepository(context);
     lIProtocolInterface         = new ProtocolRepository(context);
     lIPatientRxRepository       = lIPatientRx;
     lIUserActivityLogRepository = new UserActivityLogRepository(context);
     lVTransactRepository        = IVTransactInterface;
 }
Пример #9
0
 public LoginController(OneDirectContext context, ILogger <LoginController> plogger, IHttpContextAccessor httpContextAccessor)
 {
     lIPatientReviewRepository        = new PatientReviewRepository(context);
     lIUserActivityLogRepository      = new UserActivityLogRepository(context);
     lIDeviceCalibrationRepository    = new DeviceCalibrationRepository(context);
     lIPatientConfigurationRepository = new PatientConfigurationRepository(context);
     logger           = plogger;
     this.context     = context;
     lIUserRepository = new UserRepository(context);
     lISessionAuditTrailRepository = new SessionAuditTrailRepository(context);
     this._httpContextAccessor     = httpContextAccessor;
 }
Пример #10
0
 public ReviewController(OneDirectContext context, ILogger <ReviewController> plogger)
 {
     logger       = plogger;
     this.context = context;
     IPatient     = new PatientRepository(context);
     lIPatientReviewRepository        = new PatientReviewRepository(context);
     lIPatientRxRepository            = new PatientRxRepository(context);
     lIUserRepository                 = new UserRepository(context);
     lIUserActivityLogRepository      = new UserActivityLogRepository(context);
     lIDeviceCalibrationRepository    = new DeviceCalibrationRepository(context);
     lIPatientConfigurationRepository = new PatientConfigurationRepository(context);
     INewPatient        = new NewPatientRepository(context);
     lISessionInterface = new SessionRepository(context);
     lIAppointmentScheduleRepository = new AppointmentScheduleRepository(context);
     lIMessageRepository             = new MessageRepository(context);
 }
Пример #11
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);
 }