protected void addParentesco_Click(object sender, EventArgs e) { psvm = new PersonaServiceModel(); if (psvm.addParentesco(new SCPM_PARENTESCOS() { PARE_NOM = inParentesco.Text, PARE_EST = onParentesco.Checked })) { fillPArentesco(); HelperUtil.showNotifi("añadido"); } else HelperUtil.showNotifi("no añadido"); }
protected void addParentesco_Click(object sender, EventArgs e) { psvm = new PersonaServiceModel(); if (psvm.addParentesco(new SCPM_PARENTESCOS() { PARE_NOM = inParentesco.Text, PARE_EST = onParentesco.Checked })) { fillPArentesco(); HelperUtil.showNotifi("añadido"); } else { HelperUtil.showNotifi("no añadido"); } }