private void DeleteContactpersonType() { ContactPersonType ct = new ContactPersonType(); ct.Name = _cType.Name; ContactPersonType.DeleteContactpersonType(ct); MessageBox.Show("The job was removed"); _types = ContactPersonType.GetTypes(); _changeTypes = ContactPersonType.GetTypes(); OnPropertyChanged("Types"); OnPropertyChanged("ChangeTypes"); }