forked from ddrilling/AsbCloudServer
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:
commit
b4d05728d4
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user