public void WriteLanguagePageReportFromFile(string startYear, string startMonth, string endYear, string endMonth)
        {
            logger.LogInformation("Writing language page report  from files.");
            var reportFile = new FileInfo("Language_Page_count.csv");
            var records    = GetRecordByPage(startYear, startMonth, endYear, endMonth, "LanguagePage");

            CsvHelper <LanguagePageCount> .WriteToCsvFile(reportFile.FullName, records, logger);
        }
        public void WriteLanguagePageReport()
        {
            logger.LogInformation("Writing language page report.");
            var reportFile = new FileInfo("Language_Page_count.csv");
            var records    = reportRepository.GetLanguagePageRecords();

            CsvHelper <LanguagePageReport> .WriteToCsvFile(reportFile.FullName, records, logger);

            logger.LogInformation($"Report was generated in this path: {reportFile.FullName}");
        }