diff --git a/Response/PaymentImgResponse.cs b/Response/PaymentImgResponse.cs index 14c621b..17611f8 100644 --- a/Response/PaymentImgResponse.cs +++ b/Response/PaymentImgResponse.cs @@ -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; } } } diff --git a/Services/CandidateService.cs b/Services/CandidateService.cs index 2aa8bea..f0e7e9e 100644 --- a/Services/CandidateService.cs +++ b/Services/CandidateService.cs @@ -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 GetsAsyncPaymentImgCandidate(string candidateId)