Exemplo n.º 1
0
 public async Task <IActionResult> GetTestQuestions([FromRoute] int id, [FromQuery] FilterQuestion filter)
 {
     return(await Ok(() => _serviceQuestion.GetQuestionsAsync(filter.SetTestId(id))));
 }
Exemplo n.º 2
0
 public async Task <IActionResult> GetQuestions([FromQuery] FilterQuestion filter)
 {
     return(await Ok(() => _serviceQuestion.GetQuestionsAsync(filter)));
 }