public async Task <ActionResult <ProfessorResponse> > GetProfessor(string cpf) { var professor = await _professorService.GetProfessorAsync(cpf); if (professor == null) { return(NotFound()); } return(professor); }
public async Task <ActionResult <ProfessorResponse> > GetProfessor(string cpf) { var professor = await _professorService.GetProfessorAsync(cpf); if (professor == null) { return(NotFound()); } return(professor); }