// ctor
        public AddClinicViewModel()
        {
            // Property
            Clinic          = new ClinicModel();
            ValidationRules = new ClinicValidator();

            // Command
            PostCommand = new Command(Post);
        }
Пример #2
0
        public EditClinicViewModel(ClinicModel clinic)
        {
            // Property
            Clinic          = clinic;
            ValidationRules = new ClinicValidator();


            // Command
            PutCommand = new Command(Put);
        }