Exemplo n.º 1
0
        public List <DTSolped> ConsultaRegistroExitoso()
        {
            List <DTSolped> List = new List <DTSolped>();

            try
            {
                DataTable Solped = DMAccesoDatos.EjecutarDataSetWithDataTable(ProcedimientosAlmacenados.Sp_ConsultaRegistrosExitososSolped, Parametros);
                List = ConvertData.ConvertirDtoToList <DTSolped>(Solped);
            }
            catch (Exception ex)
            {
                throw ex;
            }
            return(List);
        }
Exemplo n.º 2
0
        public List <DTConsolidadoExcel> ConsultarConsolidadoExcel(DTFiltros Dtos)
        {
            List <DTConsolidadoExcel> List = new List <DTConsolidadoExcel>();

            try
            {
                Parametros.Add(new Parameter("@FechaInicio", Dtos.FechaInicial));
                Parametros.Add(new Parameter("@FechaFin", Dtos.FechaFinal));
                DataTable dt = DMAccesoDatos.EjecutarDataSetWithDataTable(ProcedimientosAlmacenados.Sp_ReporteConsolidado, Parametros);
                List = ConvertData.ConvertirDtoToList <DTConsolidadoExcel>(dt);
            }
            catch (Exception ex)
            {
                throw ex;
            }
            return(List);
        }