Example #1
0
        public IEnumerable <DIContentSeo> SelectContentDetailSeo(string idcontenteditordetail)
        {
            string result = CGClass.HttpGet("http://" + nodeserver + "/contentdetail/SelectSeoContentDetail?idContentEditorDetail=" + idcontenteditordetail);
            JavaScriptSerializer json_serializer = new JavaScriptSerializer();

            contentseo = json_serializer.Deserialize <List <DIContentSeo> >(result);
            return(contentseo.ToList());
        }
Example #2
0
        public IEnumerable <DIContent> SelectContent(string idcontenteditor)
        {
            string result = CGClass.HttpGet("http://" + nodeserver + "/Content/SelectById?idContentEditor=" + idcontenteditor);
            JavaScriptSerializer json_serializer = new JavaScriptSerializer();

            content = json_serializer.Deserialize <List <DIContent> >(result);
            return(content.ToList());
        }
Example #3
0
        public IEnumerable <DIiconresource> SelectIcon()
        {
            string result = CGClass.HttpGet("http://" + nodeserver + "/contentdetail/SelectIconResource");
            JavaScriptSerializer json_serializer = new JavaScriptSerializer();

            contenticon = json_serializer.Deserialize <List <DIiconresource> >(result);
            return(contenticon.ToList());
        }
Example #4
0
        public IEnumerable <DIContent> ShowContent(string layout)
        {
            string result = CGClass.HttpGet("http://" + nodeserver + "/Content/selectContent?layout=" + layout);
            JavaScriptSerializer json_serializer = new JavaScriptSerializer();

            content = json_serializer.Deserialize <List <DIContent> >(result);
            return(content.ToList());
        }