From e5341cfcff42415731aba34930438db6d8d9b3c9 Mon Sep 17 00:00:00 2001 From: bcastrogallardo Date: Thu, 17 Jul 2025 13:42:48 -0400 Subject: [PATCH] fix --- BLL/Recuperacion_DGA/EnvioDGA.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/BLL/Recuperacion_DGA/EnvioDGA.cs b/BLL/Recuperacion_DGA/EnvioDGA.cs index 96a7863..351dc8e 100644 --- a/BLL/Recuperacion_DGA/EnvioDGA.cs +++ b/BLL/Recuperacion_DGA/EnvioDGA.cs @@ -43,7 +43,10 @@ namespace BLL.Recuperacion_DGA { var mediciones = await _dGAMedicionRepository.ObtenerMedicionesPorLoteAsync(pageNumber); - if (mediciones == null || !mediciones.Any()){ break; } + if (mediciones == null || mediciones.Count == 0) + { + break; + } foreach (var medicion in mediciones) {