add CandidateId

This commit is contained in:
kittapath 2025-01-31 14:17:36 +07:00
parent 087f759432
commit cf2dcb013e
2 changed files with 2 additions and 1 deletions

View file

@ -7,5 +7,6 @@ namespace BMA.EHR.Recurit.Exam.Service.Response
public string? PaymentImg { get; set; }
public string? RejectDetail { get; set; }
public Guid? CandidateId { get; set; }
}
}

View file

@ -601,7 +601,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
if (candidate.PaymentImg != null)
candidate.PaymentImg.Detail = _minioService.ImagesPath(candidate.PaymentImg.Id).Result;
return new PaymentImgResponse { PaymentImg = candidate.PaymentImg == null ? "" : candidate.PaymentImg.Detail, RejectDetail = candidate.RejectDetail };
return new PaymentImgResponse { PaymentImg = candidate.PaymentImg == null ? "" : candidate.PaymentImg.Detail, RejectDetail = candidate.RejectDetail, CandidateId = candidate.Id };
}
public async Task<string> GetsAsyncPaymentImgCandidate(string candidateId)