public XElement ActualizaValidezCuestionario(int?pIdPeriodo = null) { using (context = new SistemaSigeinEntities()) { ObjectParameter pOutRetorno = new ObjectParameter("XML_RESULTADO", typeof(XElement)); context.SPE_ACTUALIZA_VALIDEZ_CUESTIONARIO(pOutRetorno, pIdPeriodo); return(XElement.Parse(pOutRetorno.Value.ToString())); } }