public IEnumerable <EsCountry> GetAllCountries() { return(csvReader.GetCountries(configuration.GetSection("Path").GetSection("country").Value).Select(c => new EsCountry { iso_code = c.iso, name = c.name })); }