public async Task <IActionResult> Get(int Id) { try { var disciplina = await _repo.GetDisciplinaById(Id); if (disciplina == null) { return(NotFound(MSG.NaoExisteDisciplina)); } return(Ok(disciplina)); } catch (Exception) { return(this.StatusCode(StatusCodes.Status501NotImplemented, MSG.BancoDadosFalhou)); } }