public FormModel() { CurrentPerson = new PersonModel(); People = new ObservableCollection <PersonModel>(); AddCommand = new Command(ExecuteAddCommand); }
private void ExecuteAddCommand(object obj) { People.Add(CurrentPerson); CurrentPerson = new PersonModel(); }