правка new TDto[] { } на Enumerable.Empty<TDto>()

This commit is contained in:
Olga Nemt 2023-04-13 15:37:11 +05:00
parent 5e29ef5e01
commit 5100a221e0

View File

@ -70,7 +70,7 @@ namespace AsbCloudInfrastructure.Repository
if(data is not null)
return new TDto[] { Convert(data, timezoneHours) };
return new TDto[] { };
return Enumerable.Empty<TDto>();
}
public async Task SaveDataAsync(int idTelemetry, IEnumerable<TDto> dtos, CancellationToken token)