public async Task <JsonContentDetail> JsonContentDetail(int?contentId) { var text = await ZipFileHelper.ReadStringFromFile(new FileInfo(LocalSourceDataFile), $"detail_{contentId}.json"); return(JsonConvert.DeserializeObject <JsonContentDetail>(text)); }
public async Task <JsonContentSummaries> JsonContentSummaries() { var text = await ZipFileHelper.ReadStringFromFile(new FileInfo(LocalSourceDataFile), "summaries.json"); return(JsonConvert.DeserializeObject <JsonContentSummaries>(text)); }
public async Task <JsonContentSummaries> JsonContentSummaries() { var text = await ZipFileHelper.ReadStringFromFile(_contentsDataFile, "summaries.json"); return(JsonConvert.DeserializeObject <JsonContentSummaries>(text)); }