public async Task <IActionResult> GetListTransaction() { var response = new GetListTransactionResponse(); try { response = await _accountQueries.GetListTransactionAsync(); } catch (Exception ex) { response.Code = ErrorCode.GetError(ErrorCode.SystemError).Key; response.Message = ErrorCode.GetError(ErrorCode.SystemError).Value; Logger.Error($"Exception: {ex} , Method:getListtransaction"); } return(Ok(response)); }