Ejemplo n.º 1
0
 public DashboardViewModel(IUserEndpoint userEndpoint, IPatientEndpoint patientEndpoint, IPrescriptionEndpoint prescriptionEndpoint, StatusInfoViewModel status, IWindowManager window, IMapper mapper, IEventAggregator events)
 {
     _userEndpoint         = userEndpoint;
     _patientEndpoint      = patientEndpoint;
     _prescriptionEndpoint = prescriptionEndpoint;
     _status = status;
     _window = window;
     _mapper = mapper;
     _events = events;
 }
Ejemplo n.º 2
0
        public PrescriptionAddViewModel(IPatientEndpoint patientEndpoint, IPrescriptionEndpoint prescriptionEndpoint,
                                        StatusInfoViewModel status, IWindowManager window, IAPIHelper apiHelper, IEventAggregator eventAggregator)
        {
            _status    = status;
            _window    = window;
            _apiHelper = apiHelper;
            _events    = eventAggregator;

            _patientEndpoint      = patientEndpoint;
            _prescriptionEndpoint = prescriptionEndpoint;


            /*       PatientId = _patient?.ID.ToString();
             *     PatientFirstName = _patient?.FirstName;
             *     PatientLastName = _patient?.LastName;*/
        }