public override void Execute() { var current = _file.GetValues(); for (var i = 0; i < current.Length; i++) { current[i] += _values[i]; } _file.Save(current); }
private void SaveBackup() { var backup = _file.GetValues(); _backups.Push(backup); }