private void saveMoney() { try { double money = double.Parse(GetInput("save")); currentAccount.SaveMoney(money); bank.UpdateAccount(currentAccount); displayAccount(); } catch (Exception e) { Show("Error: " + e.Message); } }
private void saveMoney() { try { double money = double.Parse(GetInput("save")); currentAccount.SaveMoney(money); bank.UpdateAccount(currentAccount); displayAccount(); } catch (Exception e) { Show("Error: " + e.Message); } }