protected void addDocumento_Click(object sender, EventArgs e) { psvm = new PersonaServiceModel(); if (psvm.addDocumento(new SCPM_TIPO_IDENTIFICACIONES() { TIP_IDE_NOM = inDocumento.Text, TIP_IDE_EST = onDocumento.Checked })) { fillDocumento(); HelperUtil.showNotifi("añadido"); } else HelperUtil.showNotifi("no añadido"); }
protected void addDocumento_Click(object sender, EventArgs e) { psvm = new PersonaServiceModel(); if (psvm.addDocumento(new SCPM_TIPO_IDENTIFICACIONES() { TIP_IDE_NOM = inDocumento.Text, TIP_IDE_EST = onDocumento.Checked })) { fillDocumento(); HelperUtil.showNotifi("añadido"); } else { HelperUtil.showNotifi("no añadido"); } }