public int BorrarConceptos(int id) { int val = 0; ObjectParameter VV = new ObjectParameter("VValor_Mensaje", typeof(Int32)); ObjectParameter VM = new ObjectParameter("VMensaje", typeof(String)); try { using (ClusmextContext context = new ClusmextContext()) { context.spDelConceptos_Pago(id, VV, VM); if (VV.Value.ToString() == "0") { val = 1; } } } catch (Exception ex) { } return(val); }