Esempio n. 1
0
 public Tuple <CenturionLog, List <string> > GetCenturionLog(string reportName)
 {
     try
     {
         var logContent   = _fileSystemController.ReadFileContents($"{LogsFolder}\\{ReportTypes.CenturionReport}\\{reportName}.csv");
         var centurionLog = _dataConverter.ConvertCsvToCenturionModel(logContent);
         return(centurionLog);
     }
     catch (Exception e)
     {
         MessageBox.Show($@"Failed getting centurion log: {reportName}. InnerMessage: {e.Message}");
         throw;
     }
 }