แก้บัคแสดงข้อมูลการศึกษา
This commit is contained in:
parent
eb567349b4
commit
56bc4e512f
4 changed files with 273 additions and 281 deletions
|
|
@ -1435,6 +1435,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
|||
throw new Exception(GlobalMessages.ExamNotFound);
|
||||
|
||||
var candidate = await _context.Candidates.AsQueryable()
|
||||
.Include(x => x.ProfileImg)
|
||||
.Where(x => x.PeriodExam == exam && x.UserId == UserId)
|
||||
.FirstOrDefaultAsync();
|
||||
|
||||
|
|
@ -1456,6 +1457,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
|||
|
||||
return new RequestCardCandidate
|
||||
{
|
||||
Avatar = candidate.ProfileImg == null ? "" : _minioService.ImagesPath(candidate.ProfileImg.Id).Result,
|
||||
FirstName = candidate.FirstName,
|
||||
LastName = candidate.LastName,
|
||||
Prefix = candidate.PrefixName,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue