/// <summary> /// GetStats /// </summary> /// <returns></returns> public string GetStats() { var data = LogBll.GetStats(); var str = JsonConvert.SerializeObject(new { DatabaseStats = data.Item1, CollectionStats = data.Item2 }); //return Json(new { DatabaseStats = data.Item1, CollectionStats = data.Item2 }, JsonRequestBehavior.AllowGet); return(str); }