public void CreateReport(string filePath = null, string fileName = null) { var report = new PdfReport(); var reportData = report.GetVisitedRoutes(); var pdfGenerator = new PdfGenerator(filePath, fileName); pdfGenerator.Generate(reportData); }