Example #1
0
 // GET: Publicacao/
 public async Task <IActionResult> Index()
 {
     return(View(await _publicacaoRepository.ListarComRelacoesAsync()));
 }
Example #2
0
        // GET: Dashboard
        public async Task <IActionResult> Index()
        {
            Aluno aluno = await _alunoRepository.ObterPorLogin(LoginUsuario.Email);

            return(View(await _publicacaoRepository.ListarComRelacoesAsync(aluno.IdTurma, aluno.Id)));
        }