修改警告4
This commit is contained in:
+3
-3
@@ -85,7 +85,7 @@ namespace IRaCIS.Application.Services
|
||||
var firstData = newPageQusetionList.FirstOrDefault();
|
||||
var page = new GetTrialReadingQuestionOutDto()
|
||||
{
|
||||
PageName = firstData.PageName,
|
||||
PageName = firstData!.PageName,
|
||||
IsPage = true,
|
||||
IsPublicPage = firstData.IsPublicPage,
|
||||
};
|
||||
@@ -100,8 +100,8 @@ namespace IRaCIS.Application.Services
|
||||
groupList.Add(page);
|
||||
}
|
||||
|
||||
result.PublicPage = groupList.Where(x => x.IsPublicPage.Value).ToList();
|
||||
result.MultiPage = groupList.Where(x => !x.IsPublicPage.Value).ToList();
|
||||
result.PublicPage = groupList.Where(x => x.IsPublicPage!.Value).ToList();
|
||||
result.MultiPage = groupList.Where(x => !x.IsPublicPage!.Value).ToList();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user