Example #1
0
        public MWPost MWGetPost(int post_ID, string username, string password)
        {
            XmlRpcStruct result = proxy.MWGetPost(post_ID.ToString(), username, password);
            MWPost       post   = MapDataToType(typeof(MWPost), result) as MWPost;

            return(post);
        }
Example #2
0
        public bool MWEditPost(int post_ID, string username, string password, MWPost content)
        {
            XmlRpcStruct post = MapTypeToData(content);

            return(proxy.MWEditPost(post_ID.ToString(), username, password, post, true));
        }