Example #1
0
        private void Rows_ItemDeleted(object sender, SoaRowVM e)
        {
            if (!AppArgs.CanDeleteBankTransaction(true))
            {
                goto Reload;
            }
            if (e.DTO.DocRefType != typeof(TransactionCrudVM).FullName)
            {
                goto Reload;
            }

            _repo1.DeleteAndUpdateBalances(e.DTO);

Reload:
            ReloadFromDB();
        }