public JsonResult ConsultarAlunosDaTurma(int id)
        {
            try
            {
                TurmaRepository turmaRep = new TurmaRepository();
                Turma           t        = turmaRep.FindByIdWithAlunos(id);

                List <AlunoConsultaViewModel> lista = new List <AlunoConsultaViewModel>();

                foreach (Aluno aluno in t.Alunos)
                {
                    lista.Add(new AlunoConsultaViewModel()
                    {
                        IdAluno = aluno.IdAluno,
                        Nome    = aluno.Nome
                    });
                }

                return(Json(lista, JsonRequestBehavior.AllowGet));
            }
            catch (Exception e)
            {
                return(Json(e.Message, JsonRequestBehavior.AllowGet));
            }
        }