async Task <CheckingDepositViewModel> AddCheckingDepositAsync()
        {
            CheckingDepositViewModel vm = new CheckingDepositViewModel(this.dbFilePath);

            vm.IsNew     = true;
            vm.CanEdit   = true;
            vm.CanDelete = false;
            vm.ItemType  = AccountRegisterItemViewModel.AccountItemType.Deposits;

            CheckingDeposit deposit = new CheckingDeposit();

            deposit.checkingAccount   = model as CheckingAccount;
            deposit.checkingAccountId = model.id;

            await vm.PopulateVMAsync(deposit);

            return(vm);
        }
        async Task LoadCheckingDepositsAsync(bool getReconciled = false)
        {
            using (UnitOfWork uow = new UnitOfWork(this.dbFilePath))
            {
                var _results = await uow.GetCheckingDepositsAsync(model.id, getReconciled);

                if (_results.Successful)
                {
                    foreach (var deposit in _results.Results)
                    {
                        deposit.checkingAccount = model as CheckingAccount;

                        CheckingDepositViewModel vm = new CheckingDepositViewModel(this.dbFilePath);
                        vm.IsNew     = false;
                        vm.CanEdit   = true;
                        vm.CanDelete = true;
                        await vm.PopulateVMAsync(deposit);

                        vm.ItemUpdated += OnRegisterUpdated;
                        this.AccountRegister.Add(vm);
                    }
                }
                else
                {
                    if (_results.WorkException != null)
                    {
                        WriteErrorCondition(_results.WorkException);
                    }
                    else if (!string.IsNullOrEmpty(_results.Message))
                    {
                        WriteErrorCondition(_results.Message);
                    }
                    else
                    {
                        WriteErrorCondition("An unknown error has occurred loading deposit records");
                    }
                }
            }
        }