예제 #1
0
        public Dictionary <string, CensusDTO> loadCSVDataFile(Country country, string csvFilePath, string headers)
        {
            Dictionary <string, CensusDTO> dataMap = new CensusAdapterFactory().LoadCSVCensusData(country, csvFilePath, headers);

            return(dataMap);
        }
 /// <summary>
 /// Common MEthod For Loading CSV Files.
 /// </summary>
 /// <param name="csvFilePath">Path Of CSV File.</param>
 /// <param name="fileHeaders">Headers Of CSV File.</param>
 /// <param name="country">Country Of Which The File Is.</param>
 /// <returns>Loaded CSV File In Dictionary.</returns>
 public Dictionary <string, dynamic> LoadCSVFileData(string csvFilePath, string fileHeaders, Country country)
 {
     return(CensusAdapterFactory.LoadCsvData(csvFilePath, fileHeaders, country));
 }