Beispiel #1
0
        public JsonResult NewTopicEvent()
        {
            var topicid   = Request.Form["topicid"];
            var events    = Request.Form["eventcontents"];
            var eventlist = (List <string>)Newtonsoft.Json.JsonConvert.DeserializeObject(events, (new List <string>()).GetType());

            TopicProject.UpdateTopicPJ(topicid, eventlist, this);

            var ret = new JsonResult();

            ret.Data = new { sucess = true };
            return(ret);
        }