Exemplo n.º 1
0
        private void AddAccount()
        {
            Account newAcct = new Account();

            newAcct.Institution = "Bank Of Middle Earth";
            newAcct.Name        = "Elrond's Checking Account";

            ModelService.AddAccount(newAcct);

            // Trigger a re-read of the database.
            RaisePropertyChanged("Accounts");
        }