Esempio n. 1
0
 /// <summary>
 /// 
 /// </summary>
 /// <returns></returns>
 public static List<FileInfo> GetTemplateFileListPortfolio()
 {
     using (ISettingRepository setttingRepository = new SettingsRepository())
     {
         ReportingParameter rp = new ReportingParameter();
         string templateFilePath = setttingRepository.GetSeting().ReportingParameter.TemplatePath;
         //return setttingRepository.GetTemplateFileList(templateFilePath + "\\Portfolio");
         return setttingRepository.GetTemplateFileList(templateFilePath + rp.PortfolioFolderNamePath);
     }
 }
Esempio n. 2
0
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public static List<FileInfo> GetTemplateFileList()
        {
            using (ISettingRepository setttingRepository = new SettingsRepository())
            {
                string templateFilePath = setttingRepository.GetSeting().ReportingParameter.TemplatePath;

                return setttingRepository.GetTemplateFileList(templateFilePath);
            }
        }