forked from ddrilling/AsbCloudServer
исправлен баг с обновлением статуса уставок
This commit is contained in:
parent
01e953c10f
commit
cfa85fc270
@ -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