Exemple #1
0
        public VideoCallController(OneDirectContext context, ILogger <PatientApiController> plogger, IPatientRxInterface IPatientRxRepository, VTransactInterface IVTransactInterface)
        {
            logger           = plogger;
            this.context     = context;
            IPatient         = new PatientRepository(context);
            lIUserRepository = new UserRepository(context);

            lIPatientRxRepository         = IPatientRxRepository;
            lISessionAuditTrailRepository = new SessionAuditTrailRepository(context);
            lVTransactRepository          = IVTransactInterface;
        }
 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;
 }