private void GenerateReport(DateTime finishDateTime) { _actionHelper.SafeAction(() => { _currentRun.RunInfo.Finish = finishDateTime; _currentRun.Save(RunsPath); RunsHelper.SaveCurrentRunInfo(RunsPath, _currentRun.RunInfo); }); }
private void GenerateReport(DateTime finishDateTime) { _action.Safe(() => { _currentRun.RunInfo.Finish = finishDateTime; _currentRun.Save(RunsPath); var runInfo = new ItemInfo(_currentRun.RunInfo); RunsHelper.SaveCurrentRunInfo(RunsPath, runInfo); }); }