This commit is contained in:
bcastrogallardo 2025-07-17 13:42:48 -04:00
parent 747391eade
commit e5341cfcff

View file

@ -43,7 +43,10 @@ namespace BLL.Recuperacion_DGA
{ {
var mediciones = await _dGAMedicionRepository.ObtenerMedicionesPorLoteAsync(pageNumber); var mediciones = await _dGAMedicionRepository.ObtenerMedicionesPorLoteAsync(pageNumber);
if (mediciones == null || !mediciones.Any()){ break; } if (mediciones == null || mediciones.Count == 0)
{
break;
}
foreach (var medicion in mediciones) foreach (var medicion in mediciones)
{ {