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