public ActionResult GetNetworkScore() { ApplicationDbContext db = new ApplicationDbContext(); var score = PerformanceManager.GetNetworkScore(db); return(Json(new { NetworkScore = score, }, JsonRequestBehavior.AllowGet)); }