public ActionResult Detail(string id) { ViewBag.id = id; ViewBag.state = FileDB.AppState(id); ViewBag.config = FileDB.AppConfig(id).SanitizeForDisplay(); ViewBag.logcreated = FileDB.LogCreated(id); return(View()); }