forked from ddrilling/AsbCloudServer
nit WellOperation.id = default on Add
This commit is contained in:
parent
4c08a2963f
commit
427a713095
@ -125,7 +125,7 @@ namespace AsbCloudInfrastructure.Services
|
|||||||
foreach (var operationDto in wellOperationDtos)
|
foreach (var operationDto in wellOperationDtos)
|
||||||
{
|
{
|
||||||
var entity = operationDto.Adapt<WellOperation>();
|
var entity = operationDto.Adapt<WellOperation>();
|
||||||
entity.Id = 0;
|
entity.Id = default;
|
||||||
entity.IdWell = idWell;
|
entity.IdWell = idWell;
|
||||||
context.WellOperations.Add(entity);
|
context.WellOperations.Add(entity);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user