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()); }
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()); }
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()); }
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()); }