Example #1
0
        public void GenerateJsonReports()
        {
            string directoryPath = Constants.JsonReportsPath;

            var reports = JsonReports.GenerateReports(directoryPath);

            JsonReports.SeedReportsToMySQL(reports);
        }
        public void GenerateJsonReports()
        {
            string directoryPath = Constants.JsonReportsPath;

            var reports = JsonReports.GenerateReports(directoryPath);

            textWriter.WriteLine("JSON Reports created!");

            JsonReports.SeedReportsToMySQL(reports);
            textWriter.WriteLine("Reports Updated to MySQL database!");
        }