public static void ImportTowns() { var townsJson = File.ReadAllText(DataPaths.TownsJson); var townDtos = JsonConvert.DeserializeObject <IEnumerable <TownDTO> >(townsJson); TownImportService.ImportTowns(townDtos); }