เพิ่มฟิว เบอร ให้apiข้อมูลผู้สมัคร
This commit is contained in:
parent
7f792bb8fd
commit
44d18ff74c
4 changed files with 160 additions and 37 deletions
|
|
@ -64,6 +64,9 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
|||
CitizenDate = x.CitizenDate,
|
||||
Email = x.Email,
|
||||
CitizenId = x.CitizenId,
|
||||
Telephone = x.Telephone,
|
||||
MobilePhone = x.MobilePhone,
|
||||
Knowledge = x.Knowledge,
|
||||
})
|
||||
.FirstOrDefaultAsync();
|
||||
}
|
||||
|
|
@ -295,6 +298,9 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
|||
candidate.Email = updated.Email;
|
||||
candidate.CitizenId = updated.CitizenId;
|
||||
candidate.CitizenDate = updated.CitizenDate;
|
||||
candidate.Telephone = updated.Telephone;
|
||||
candidate.MobilePhone = updated.MobilePhone;
|
||||
candidate.Knowledge = updated.Knowledge;
|
||||
|
||||
await _context.SaveChangesAsync();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue