Exemple #1
0
        public EditInfluecerViewModel(InfluencerModel influencer)
        {
            // Property
            Influencer      = influencer;
            ValidationRules = new InfluencerValidator();

            // Command
            PutCommand = new Command(Put);
        }
Exemple #2
0
        // ctor
        public AddInfluecerViewModel()
        {
            // Property
            Influencer      = new InfluencerModel();
            ValidationRules = new InfluencerValidator();

            // Command
            PostCommand = new Command(Post);
        }