diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs index bce09314c..e78bd3404 100644 --- a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs +++ b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs @@ -365,6 +365,8 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto { public Guid Id { get; set; } + public Guid RowId { get; set; } + /// /// QuestionId /// diff --git a/IRaCIS.Core.Application/Service/Reading/_MapConfig.cs b/IRaCIS.Core.Application/Service/Reading/_MapConfig.cs index 58d552569..9bf67fbf8 100644 --- a/IRaCIS.Core.Application/Service/Reading/_MapConfig.cs +++ b/IRaCIS.Core.Application/Service/Reading/_MapConfig.cs @@ -68,7 +68,8 @@ namespace IRaCIS.Core.Application.Service CreateMap() .ForMember(d => d.ShowOrder, u => u.MapFrom(s => s.ReadingQuestionTrial.ShowOrder)) - .ForMember(d => d.RowIndex, u => u.MapFrom(s => s.RowIndex.ToString())); + .ForMember(d => d.RowIndex, u => u.MapFrom(s => s.RowIndex.ToString())) + .ForMember(d => d.RowId, u => u.MapFrom(s => s.Id));