public XElement CancelarBajaEmpleado(int ID_EMPLEADO, string CL_USUARIO, string NB_PROGRAMA) { using (context = new SistemaSigeinEntities()) { ObjectParameter pOutClRetorno = new ObjectParameter("XML_RESULTADO", typeof(XElement)); context.SPE_ACTUALIZA_EO_BAJA_EMPLEADO(pOutClRetorno, ID_EMPLEADO, CL_USUARIO, NB_PROGRAMA); return(XElement.Parse(pOutClRetorno.Value.ToString())); } }