diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingQuestionViewModel.cs b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingQuestionViewModel.cs index 900a32a0f..a80bf62cb 100644 --- a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingQuestionViewModel.cs +++ b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingQuestionViewModel.cs @@ -66,7 +66,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto [NotDefault] public Guid Id { get; set; } - [NotDefault] + public bool IsEnable { get; set; } } diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingQuestionService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingQuestionService.cs index b6536edeb..ee3ad5583 100644 --- a/IRaCIS.Core.Application/Service/Reading/ReadingQuestionService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ReadingQuestionService.cs @@ -233,6 +233,12 @@ namespace IRaCIS.Application.Services { var parentIdIsNullList = systemQuesitonList.Where(x => x.ParentId == null).ToList(); + //parentIdIsNullList.ForEach(x => { + // var oldId = x.Id.Clone();` + + + //}) + }