예제 #1
0
        public ActionResult GetNetworkScore()
        {
            ApplicationDbContext db = new ApplicationDbContext();

            var score = PerformanceManager.GetNetworkScore(db);

            return(Json(new
            {
                NetworkScore = score,
            }, JsonRequestBehavior.AllowGet));
        }