Ejemplo n.º 1
0
 // GET: PatientRecord
 public PatientRecordController(IUnitOfWork unitofwork, IPatientRecordServices patientrecordservices, IPatientServices patientservices, IPrescriptionServices prescriptionServices, IAppointmentServices appointmentservices, IUserPhysicianService userphysicianservices)
 {
     _unitofwork            = unitofwork;
     _patientrecordservices = patientrecordservices;
     _patientservices       = patientservices;
     _prescriptionServices  = prescriptionServices;
     _appointmentservices   = appointmentservices;
     _userphysicianservices = userphysicianservices;
 }
Ejemplo n.º 2
0
        //private readonly IUserPhysicianService _userPhysicianService;


        public AppointmentController(IAppointmentServices appointmentServices, IPatientServices patientServices, IUnitOfWork unitofwork, IUserPhysicianService userPhysicianService, IPatientRecordServices patientRecordServices)
        {
            _appointmentServices = appointmentServices;
            _patientServices     = patientServices;
            _unitofwork          = unitofwork;
            //_userPhysicianService = userPhysicianService;
            _patientRecordServices = patientRecordServices;
        }
Ejemplo n.º 3
0
        //public AppointmentServices()
        //{
        //    _pmisEntities = new PMISEntities();
        //    _phycisianService = new PhycisianServices();
        //    _patientservice = new PatientServices();
        //}

        public AppointmentServices(PMISEntities pmisEntities, IUserPhysicianService userPhysicianService, IPatientServices patientServices1)
        {
            this._pmisEntities    = pmisEntities;
            _userPhysicianService = userPhysicianService;
            _patientServices      = patientServices1;
        }