예제 #1
0
 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");
     }
 }
예제 #2
0
 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");
 }