Merge pull request 'Исправлен баг с обновлением статуса уставок' (#269) from fix/#32608212-setpoints-update-state into dev

Reviewed-on: http://test.digitaldrilling.ru:8080/DDrilling/AsbCloudServer/pulls/269
This commit is contained in:
Никита Фролов 2024-04-23 11:29:54 +05:00
commit b4d05728d4

View File

@ -96,7 +96,7 @@ namespace AsbCloudInfrastructure.Services.SAUB
return 0;
entity.IdState = setpointsRequestDto.IdState;
var affected = await setpointsRepository.UpdateAsync(entity, token);
var affected = await setpointsRepository.UpdateRangeAsync(new[] { entity }, token);
return affected;
}