diff --git a/IRaCIS.Core.Application/Service/QC/DTO/QCListViewModel.cs b/IRaCIS.Core.Application/Service/QC/DTO/QCListViewModel.cs index bc7839d95..0afd23f96 100644 --- a/IRaCIS.Core.Application/Service/QC/DTO/QCListViewModel.cs +++ b/IRaCIS.Core.Application/Service/QC/DTO/QCListViewModel.cs @@ -1949,6 +1949,7 @@ namespace IRaCIS.Core.Application.Contracts public class QCQuestionAnswer { + public Guid? AnswerId { get; set; } public Guid Id { get; set; } public string QuestionName { get; set; } = String.Empty; public bool IsRequired { get; set; } diff --git a/IRaCIS.Core.Application/Service/QC/QCListService.cs b/IRaCIS.Core.Application/Service/QC/QCListService.cs index 0cac2a94e..99bc38a28 100644 --- a/IRaCIS.Core.Application/Service/QC/QCListService.cs +++ b/IRaCIS.Core.Application/Service/QC/QCListService.cs @@ -517,6 +517,7 @@ namespace IRaCIS.Core.Application.Image.QA from leftanswer in answertemp.DefaultIfEmpty() select new QCQuestionAnswer() { + AnswerId= leftanswer.Id, Answer = leftanswer.Answer, ShowOrder = data.ShowOrder, QuestionName = data.QuestionName,