...
This commit is contained in:
@@ -51,7 +51,7 @@ namespace Back.Services
|
||||
public async Task<PagingDto<QuestionDto>> GetQuestion(int PageIndex, int PageSize)
|
||||
{
|
||||
return await _repoQuestion.Get(w => w.Status)
|
||||
.Include(inc=>inc.questionCategory).OrderByDescending(o => o.ID)
|
||||
.Include(inc=>inc.questionCategory).OrderBy(o => o.ID)
|
||||
.Select(s => new QuestionDto
|
||||
{
|
||||
Answer=s.Answer,
|
||||
|
Reference in New Issue
Block a user