Пример #1
0
 public async Task <IActionResult> GetTestQuestions([FromRoute] int id, [FromQuery] FilterQuestion filter)
 {
     return(await Ok(() => _serviceQuestion.GetQuestionsAsync(filter.SetTestId(id))));
 }
Пример #2
0
 public async Task <IActionResult> GetQuestions([FromQuery] FilterQuestion filter)
 {
     return(await Ok(() => _serviceQuestion.GetQuestionsAsync(filter)));
 }