#888
Some checks failed
release-dev / release-dev (push) Failing after 11s

This commit is contained in:
AdisakKanthawilang 2024-12-26 13:24:09 +07:00
parent f2fa09c01f
commit f5c76a5fac

View file

@ -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;
@ -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();