public async Task <IActionResult> Calendario(int id)
        {
            var perfil     = User.Claims.FirstOrDefault(x => x.Type == "Papel").Value;
            int usuarioId  = Convert.ToInt32(User.Claims.FirstOrDefault(x => x.Type == "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/sid").Value);
            var turma      = (await _repositorio.ObterTodosPorAsync(id, null, null, null, perfil.Equals("Professor") ? usuarioId : 0)).FirstOrDefault();
            var salas      = new SelectList(await _repositorioSala.ObterTodosAsync(), "Id", "DesSala");
            var diasSemana = new SelectList(await _repositorioAgenda.ObterTodosDiaSemanaAsync(), "Id", "DiaSemana");

            ViewBag.Turma = turma;
            ViewBag.Dias  = diasSemana;
            ViewBag.Salas = salas;
            return(View());
        }