Example #1
0
        public ActionResult GetConnectivityStats()
        {
            ApplicationDbContext db = new ApplicationDbContext();

            var stats = PerformanceManager.GetConnectivityStatistics(db);

            return(Json(new
            {
                Stats = stats
            }, JsonRequestBehavior.AllowGet));
        }