public static string GenerateWordReport(AnalysisDictionary reportValues,  string outputPath, string templatePath)
        {
            if (File.Exists(outputPath))
            {
                File.Delete(outputPath);
            }

            var manager = new WordManager { MergeColsValues = reportValues, FileName = templatePath };
            var content = manager.Bind();

            File.Copy(templatePath, outputPath);
            File.WriteAllBytes(outputPath, content);

            return outputPath;
        }
        public static string GenerateWordReport(AnalysisDictionary reportValues, string outputPath, string templatePath)
        {
            if (File.Exists(outputPath))
            {
                File.Delete(outputPath);
            }

            var manager = new WordManager {
                MergeColsValues = reportValues, FileName = templatePath
            };
            var content = manager.Bind();

            File.Copy(templatePath, outputPath);
            File.WriteAllBytes(outputPath, content);

            return(outputPath);
        }