Exemple #1
0
        public void OnUserRemove(ProcessUser removedUser)
        {
            RedoableCommands.Clear();
            var removeCommand = new RemoveUserCommand(_userModelManager, removedUser);

            removeCommand.Execute();
            UndoableCommands.Push(removeCommand);
        }
Exemple #2
0
        public void RemoveUser(ProcessUser removedUser)
        {
            RedoableCommands.Clear();
            var removeCommand = new RemoveUserCommand(_contractManager, removedUser);

            removeCommand.Execute();
            UndoableCommands.Push(removeCommand);
        }