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