public async Task <DataResult <List <Avaliacao> > > ListarAvaliacoesDoProfessorAsync(int professorId)
        {
            try
            {
                var retorno = await avaliacaoService.ListarAvaliacoesDoProfessorAsync(professorId);

                return(new DataResult <List <Avaliacao> >(retorno));
            }
            catch (Exception ex)
            {
                return(new DataResult <List <Avaliacao> >(ex));
            }
            throw new NotImplementedException();
        }
        public async Task <IActionResult> Index()
        {
            var avaliacoes = await _avaliacaoService.ListarAvaliacoesDoProfessorAsync(LoginUsuario);

            return(View(avaliacoes));
        }