예제 #1
0
 private void GenerateReport(DateTime finishDateTime)
 {
     Action.Safe(() =>
     {
         RunRepository.OnRunFinished(finishDateTime);
         DataService.SaveRun(RunRepository.CurrentRun);
     });
 }
예제 #2
0
 private void GenerateReport(DateTime finishDateTime)
 {
     Action.Safe(() =>
     {
         RunRepository.OnRunFinished(finishDateTime);
         DataWriterService.SaveRun(RunRepository.CurrentRun);
         Logger.Info($"Report generated at {finishDateTime:yyyy-MM-dd HH:mm:ss.fff}");
     });
 }