public async Task <IActionResult> Index(int?avaliacaoId) { if (avaliacaoId == null) { return(NotFound()); } var avaliacao = await _avaliacaoService.ObterAvaliacaoQueryResultAsync(avaliacaoId.Value); if (avaliacao == null) { return(NotFound()); } return(View(avaliacao)); }