public static string Execute()
        {
            var storeDb = new StoresData();

            var pdfWriter = new PdfTopSoldProductsTableWriter(storeDb.Sales);

            string reportDirectory = Directory.GetCurrentDirectory();
            pdfWriter.WriteData(reportDirectory);

            return "PDF report written at follow location:\r\n" + reportDirectory;
        }
Exemplo n.º 2
0
        public static string Execute()
        {
            var storeDb = new StoresData();

            var pdfWriter = new PdfTopSoldProductsTableWriter(storeDb.Sales);

            string reportDirectory = Directory.GetCurrentDirectory();

            pdfWriter.WriteData(reportDirectory);

            return("PDF report written at follow location:\r\n" + reportDirectory);
        }