public JsonResult getRealTime(string Region)
        {
            Spline rt = new Spline();
            List<AddsHistory> ahl = InitData.lstAddsHistory.Where(kvp => kvp.Region == Region).ToList<AddsHistory>();
            rt.AdsHistoryList = ahl;

            return Json(rt.AdsHistoryList);
        }
        public JsonResult getRealTime(string Region)
        {
            Spline rt = new Spline();
            //List<AddsHistory> ahl = InitData.lstAddsHistory.Where(kvp => kvp.Region == Region).ToList<AddsHistory>();
            List<AddsHistory> ahl = InitData.lstAddsHistory;
            rt.AdsHistoryList = ahl;

            //ahl[0].Views
            #region test data
            List<List<object>> testlist = new List<List<object>>();
            List<object> testing = new List<object>();

            string[] values = new string[2] { "", "" };
            //int i = 1;
            foreach (var x in ahl)
            {
                values = new string[2] { x.Desc + "::" + x.Views, x.Views.ToString() };
                testing.Add(values);
            }
            testlist.Add(testing);
            /*
            testing.Add(values);
            values= new string[2] { "Nexus", ahl[0].Views.ToString() };
            */

            rt.columns = testlist;
            #endregion

            return Json(rt);

            //return
        }