Example #1
0
        public ActionResult Index()
        {
            var terms = TermService.Query();

            return(Json(terms.Select(t => new { t.Id, t.Name, t.Description }), JsonRequestBehavior.AllowGet));
        }