This commit is contained in:
parent
f2fa09c01f
commit
f5c76a5fac
1 changed files with 2 additions and 2 deletions
|
|
@ -727,7 +727,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
||||||
.FirstOrDefaultAsync(x => x.Id == req.PersonalId);
|
.FirstOrDefaultAsync(x => x.Id == req.PersonalId);
|
||||||
if (person == null)
|
if (person == null)
|
||||||
return Error(GlobalMessages.DataNotFound, 404);
|
return Error(GlobalMessages.DataNotFound, 404);
|
||||||
|
bool? _nullBool = null;
|
||||||
person.OrganizationPosition = null;
|
person.OrganizationPosition = null;
|
||||||
person.PositionNumber = null;
|
person.PositionNumber = null;
|
||||||
person.PositionPath = null;
|
person.PositionPath = null;
|
||||||
|
|
@ -772,7 +772,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
||||||
person.nodeId = null;
|
person.nodeId = null;
|
||||||
person.posmasterId = null;
|
person.posmasterId = null;
|
||||||
person.positionId = null;
|
person.positionId = null;
|
||||||
person.Draft = false;
|
person.Draft = _nullBool;
|
||||||
person.typeCommand = null;
|
person.typeCommand = null;
|
||||||
await _context.SaveChangesAsync();
|
await _context.SaveChangesAsync();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue