public async Task <IActionResult> ReporteDepositosPendientes([FromBody] DatosReporteConciliacionPendienteDto datosReporteDto)
        //public async Task<IActionResult> ReporteDepositosPendientes()
        {
            _logger.LogInfo("Metodo ReporteDepositosPendientes");
            //DatosReporteConciliacionPendienteDto datosReporteDto = new DatosReporteConciliacionPendienteDto();
            var conciliacionResult = await _reporteService.ReporteDepositosPendientes(datosReporteDto);

            return(Ok(conciliacionResult));
        }
        public async Task <IEnumerable <ReportePlanillaPendienteDto> > ReportePlanillasPendientes(DatosReporteConciliacionPendienteDto datosConciliacionPendienteDto)
        {
            IEnumerable <ReportePlanillaPendienteDto> reportPlanillasPendientesDtos = null;

            try
            {
                var datosConsultaEntity = _mapper.Map <DatosReporteConciliacionPendiente>(datosConciliacionPendienteDto);

                var depositosResult = await _reporteRepository.ReportePlanillasPendientes(datosConsultaEntity);

                if (depositosResult == null || depositosResult.Count == 0)
                {
                    depositosResult = new List <ReportePlanillaPendiente>
                    {
                        new ReportePlanillaPendiente()
                    };
                }

                reportPlanillasPendientesDtos = _mapper.Map <IEnumerable <ReportePlanillaPendienteDto> >(depositosResult);
            }
            catch (Exception ex)
            {
                _logger.LogError(ex.Message);
                _logger.LogError(ex.StackTrace);
            }

            return(reportPlanillasPendientesDtos);
        }