This commit is contained in:
mmrbnjd
2024-04-03 17:07:18 +03:30
parent 8e8bffa8a8
commit 0c470ce763
7 changed files with 131 additions and 5 deletions

View File

@@ -31,6 +31,9 @@ namespace Back.Controllers
return NotFound();
return Ok(result);
}
[HttpGet("LastQuestion")]
public async Task<ActionResult<PagingDto<QuestionDto>>> LastQuestion(int PageIndex, int PageSize)
=> Ok(await _sBase.GetQuestion(PageIndex, PageSize));
}
}