protected void editRaza_Click(object sender, EventArgs e) { psvm = new PersonaServiceModel(); if (psvm.editRaza(new SCPM_RAZAS() { RAZ_ID = Convert.ToInt32(coboRaza.SelectedValue), RAZ_NOM = inRaza.Text, RAZ_EST = onRaza.Checked })) { fillRaza(); HelperUtil.showNotifi("editado"); } else { HelperUtil.showNotifi("no editado"); } }
protected void editRaza_Click(object sender, EventArgs e) { psvm = new PersonaServiceModel(); if (psvm.editRaza(new SCPM_RAZAS() { RAZ_ID = Convert.ToInt32(coboRaza.SelectedValue), RAZ_NOM = inRaza.Text, RAZ_EST = onRaza.Checked })) { fillRaza(); HelperUtil.showNotifi("editado"); } else HelperUtil.showNotifi("no editado"); }