Пример #1
0
        public ActionResult Index()
        {
            var contentsQuery = contentModel.SelectAll();

            ViewBag.Contents = EncodeJsString(JsonConvert.SerializeObject(contentsQuery));
            return(View());
        }