public IActionResult Get(string matricula) { try { var alunoturma = _alunoturmaRepository.BuscarPorMatricula(matricula); if (alunoturma == null) { return(NotFound()); } return(Ok(alunoturma)); } catch (Exception ex) { return(BadRequest(ex.Message)); } }