private void ConvertAndSaveConvertedSunCrossword(SunCrosswordJson sunCrossword) { var convertedCrossword = SunCrosswordConverter.Convert(sunCrossword); File.WriteAllText(convertedCrosswordFolderPath + convertedCrossword.id + ".json", JsonConvert.SerializeObject(convertedCrossword)); }
private List <CrosswordModelJson> ConvertSunCrosswords(IEnumerable <SunCrosswordJson> sunCrosswords) { return(sunCrosswords.Select(sc => SunCrosswordConverter.Convert(sc)).ToList()); }