Example #1
0
        public void UndoTransaction(int id)
        {
            var          toUndo      = _history.GetHistory()[id];
            ITransaction transaction = new UndoTransaction(toUndo);

            transaction.Execute();
            _history.GetHistory().Remove(toUndo);
        }