public ActionResult Index() { var contentsQuery = contentModel.SelectAll(); ViewBag.Contents = EncodeJsString(JsonConvert.SerializeObject(contentsQuery)); return(View()); }
public ActionResult Index() { var contentsQuery = contentModel.SelectAll(); ViewBag.Contents = EncodeJsString(JsonConvert.SerializeObject(contentsQuery)); return(View()); }