예제 #1
0
        public IActionResult Index(string key = "preface")
        {
            var jsonData         = new JsonData();
            var deserializedJson = JsonService.DeserializeJson();

            jsonData = GetDictionaryData.GetDictionaryValues(deserializedJson.JsonDict, key);
            return(View(jsonData));
        }
예제 #2
0
 public ActionResult GetDataJson()
 {
     return(Json(new { data = JsonService.DeserializeJson() }, JsonRequestBehavior.AllowGet));
 }