diff --git a/BMA.EHR.Placement.Service/Controllers/PlacementController.cs b/BMA.EHR.Placement.Service/Controllers/PlacementController.cs index a93d007f..bc7a4883 100644 --- a/BMA.EHR.Placement.Service/Controllers/PlacementController.cs +++ b/BMA.EHR.Placement.Service/Controllers/PlacementController.cs @@ -727,7 +727,7 @@ namespace BMA.EHR.Placement.Service.Controllers .FirstOrDefaultAsync(x => x.Id == req.PersonalId); if (person == null) return Error(GlobalMessages.DataNotFound, 404); - + bool? _nullBool = null; person.OrganizationPosition = null; person.PositionNumber = null; person.PositionPath = null; @@ -762,7 +762,7 @@ namespace BMA.EHR.Placement.Service.Controllers person.child4ShortName = null; person.orgRevisionId = null; person.posMasterNo = null; - person.positionName = null; + //person.positionName = null; person.positionField = null; person.posTypeId = null; person.posTypeName = null; @@ -772,7 +772,7 @@ namespace BMA.EHR.Placement.Service.Controllers person.nodeId = null; person.posmasterId = null; person.positionId = null; - person.Draft = false; + person.Draft = _nullBool; person.typeCommand = null; await _context.SaveChangesAsync();