Esempio n. 1
0
        public VMChoiceTime()
        {
            this.navigation             = IoC.Get <IAppointmentNavigation>();
            this.сreatingVoucherService = IoC.Get <IСreatingVoucherService>();

            day = this.сreatingVoucherService.Date;
        }
Esempio n. 2
0
        public VMPatient()
        {
            baseManager   = IoC.Get <IBaseManager>();
            authorization = IoC.Get <IAuthorizationService>();
            navigation    = IoC.Get <IAppointmentNavigation>();

            subscribeToUpdates();
            Patient = getCurrentPatient();

            navigation.Navigate(new ChoiceSpecialization());
        }
Esempio n. 3
0
        public VMChoiceDoctor()
        {
            this.baseManager            = IoC.Get <IBaseManager>();
            this.navigation             = IoC.Get <IAppointmentNavigation>();
            this.сreatingVoucherService = IoC.Get <IСreatingVoucherService>();
            this.authorization          = IoC.Get <IAuthorizationService>();
            this.weekViewerService      = IoC.Get <IWeekViewerService>();

            Patient = getCurrentPatient();

            baseManager.Doctor.TableChanged += (sender, e) => OnPropertyChanged("Doctors");
        }
Esempio n. 4
0
 public ChooseDoctorCommand(IAppointmentNavigation navigation, IСreatingVoucherService сreatingVoucherService)
 {
     this.navigation             = navigation;
     this.сreatingVoucherService = сreatingVoucherService;
 }
Esempio n. 5
0
 public VMConfirmChoice()
 {
     this.navigation             = IoC.Get <IAppointmentNavigation>();
     this.сreatingVoucherService = IoC.Get <IСreatingVoucherService>();
 }