public ActionResult <ProfessorTurma> GetProfessorTurma(Guid id)
        {
            var professorTurma = _profeTurmaRepository.BuscarPorId(id);

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

            return(professorTurma);
        }
Exemple #2
0
 public ProfessorTurma Get(Guid id)
 {
     return(_professorTurmaRepository.BuscarPorId(id));
 }