예제 #1
0
        public JsonResult GetLinks()
        {
            var links = _linkRepository.GetAllLinks();
            var temp  = JsonConvert.SerializeObject(links);

            return(Json(temp, JsonRequestBehavior.AllowGet));
        }