public async Task <IActionResult> Get(int AlunoId, int DisciplinaId) { try { var lancamentos = await _repo.GetLancamentosById(AlunoId, DisciplinaId); if (lancamentos.Length == 0) { return(NotFound(MSG.NaoExisteLancamento)); } return(Ok(lancamentos)); } catch (Exception) { return(this.StatusCode(StatusCodes.Status501NotImplemented, MSG.BancoDadosFalhou)); } }