private void DeleteAccount() { if (MenuDefaults.AreYouSureScreen("Delete Account", () => DeleteAccount())) { accountListControler.DeleteAccount(personControler.GetId(), AccountId); } AccountTransactions(); }
private void InsertAccount(SAccount sAccount) { if (accountListControler.VerifyExistingAccount(sAccount.Name)) { MenuDefaults.Message("You already have an account " + sAccount.Name); AddAccount(); return; } accountListControler.InsertAccount(personControler.GetId(), sAccount); ManageAccounts(); }