private void NewContactpersonType() { ContactPersonType ct = new ContactPersonType(); ct.Name = _cType.Name; ContactPersonType.InsertContactpersonType(ct); MessageBox.Show("De nieuwe functie werd toegevoegd"); OnPropertyChanged("Types"); OnPropertyChanged("ChangeTypes"); }
private void NewContactpersonType() { ContactPersonType ct = new ContactPersonType(); ct.Name = _cType.Name; ContactPersonType.InsertContactpersonType(ct); MessageBox.Show("the new job was added"); _types = ContactPersonType.GetTypes(); _changeTypes = ContactPersonType.GetTypes(); OnPropertyChanged("Types"); OnPropertyChanged("ChangeTypes"); }