|
@@ -848,6 +848,7 @@ namespace Hotline.Api.Controllers
|
|
|
public async Task<KnowledgeCorrection> CorrectionEntity(string id)
|
|
|
{
|
|
|
return await _knowledgeCorrectionRepository.Queryable()
|
|
|
+ .Includes(x=>x.Knowledge)
|
|
|
.FirstAsync(x => x.Id == id);
|
|
|
}
|
|
|
#endregion
|
|
@@ -941,6 +942,7 @@ namespace Hotline.Api.Controllers
|
|
|
public async Task<KnowledgeQuestions> QuestionsEntity(string id)
|
|
|
{
|
|
|
return await _knowledgeQuestionsRepository.Queryable()
|
|
|
+ .Includes(x=>x.Knowledge)
|
|
|
.FirstAsync(x => x.Id == id);
|
|
|
}
|
|
|
|