Example #1
0
        public ActionResult <AlunoTurma> GetAlunoTurma(Guid id)
        {
            var alunoTurma = _alunoRepository.BuscarPorId(id);

            if (alunoTurma == null)
            {
                return(NotFound());
            }

            return(alunoTurma);
        }
Example #2
0
 public AlunoTurma Get(Guid id)
 {
     return(_alunoTurmaRepository.BuscarPorId(id));
 }