บันทึกทะเบียนประวัติuserถึงแก่กรรม
This commit is contained in:
parent
75c4cb0f08
commit
243700bd53
1 changed files with 3 additions and 0 deletions
|
|
@ -215,6 +215,9 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
|||
.FirstOrDefaultAsync(x => x.Id == req.ProfileId);
|
||||
if (profile == null)
|
||||
return Error(GlobalMessages.DataNotFound, 404);
|
||||
profile.LeaveDate = DateTime.Now;
|
||||
profile.IsLeave = true;
|
||||
profile.LeaveReason = "DEATH";
|
||||
|
||||
var retirementDeceased = new RetirementDeceased
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue