diff --git a/Services/CandidateService.cs b/Services/CandidateService.cs index 94d9810..3b1b568 100644 --- a/Services/CandidateService.cs +++ b/Services/CandidateService.cs @@ -258,6 +258,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(); @@ -276,6 +277,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services throw new Exception(GlobalMessages.ExamNotFound); var candidate = await _context.Candidates.AsQueryable() + .Include(x=>x.PaymentImg) .Where(x => x.PeriodExam == exam && x.UserId == UserId) .FirstOrDefaultAsync();