public void GetBalance(int currentUserId) { Account account = new Account(); try { account = accountAPI.GetAccount(currentUserId); } catch (Exception ex) { Console.WriteLine(ex.Message); return; } Console.WriteLine(); Console.WriteLine(); Console.WriteLine(account); }