public override void Execute() { if (AddedUser != null) { UserModelManager.AddUser(AddedUser); } else { AddedUser = UserModelManager.AddNewUser(); } }
public override void Undo() { UserModelManager.AddUser(RemovedUser); }