public ActionResult Show(string id) { var model = new ShowModel { Uri = imageStorage.UriFor(id), Analysis = "" }; var analysis = imageAnalysisStore.GetImageAnalysis(id); if (analysis != null) { model.Analysis = JsonConvert.SerializeObject(analysis, Formatting.Indented); } return(View(model)); }