コード例 #1
0
        public List<up_Listar_Reporte_AccionMejoraResult> listarReporteAccionMejora(int cursoId, int periodoId, String estado)
        {
            SSIA2013DataContext dataContext = null;

            try
            {
                dataContext = new SSIA2013DataContext(ConfigurationManager.ConnectionStrings["SSIA2013"].ToString());
                List<up_Listar_Reporte_AccionMejoraResult> lstAcciones = dataContext.up_Listar_Reporte_AccionMejora(cursoId, periodoId, estado).ToList();

                return lstAcciones;
            }

            catch (Exception ex)
            {
                throw ex;
            }

            finally
            {
                if (dataContext != null)
                {
                    dataContext.Dispose();
                }
            }
        }