//Konstruktor public MainViewVM() { data = new Kniha(); this.Prejdi = new Command(this.Prejdi_Execute); this.Prejdi_Add = new Command(this.Prejdi_Add_Execute); this.Delete = new Command(this.Delete_Execute); this.Profil = new Command(this.Profil_Execute); }
public AddPageVM() { data = new Model.Kniha(); this.Pridej = new Command(this.Add_Execute); this.Prejdi = new Command(this.Prejdi_Execute); }