示例#1
0
 public PatientAddViewModel(IPatientEndpoint patientEndpoint, IEventAggregator events, StatusInfoViewModel status, IWindowManager window)
 {
     _status          = status;
     _window          = window;
     _events          = events;
     _patientEndpoint = patientEndpoint;
 }
示例#2
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;
 }
示例#3
0
 public SmsViewModel(StatusInfoViewModel status,
                     IWindowManager window, IMapper mapper, IEventAggregator events, IPatientEndpoint patientEndpoint, ISmsEndpoint smsEndpoint)
 {
     _status          = status;
     _mapper          = mapper;
     _window          = window;
     _events          = events;
     _patientEndpoint = patientEndpoint;
     _smsEndpoint     = smsEndpoint;
 }
示例#4
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;*/
        }