예제 #1
0
        public static string TopicAdd()
        {
            Topic topic = ((TopicArgs)PSCDialog.DataShare).Topic;

            TopicList.AddDB(((TopicArgs)PSCDialog.DataShare).Topic);
            TopicList.UpdateLastPosition(((TopicArgs)PSCDialog.DataShare).Topic);
            System.Web.Script.Serialization.JavaScriptSerializer js = new System.Web.Script.Serialization.JavaScriptSerializer();
            return(js.Serialize(((TopicArgs)PSCDialog.DataShare).Topic));
        }