public Task PostComment(string postId, string content)
        {
            XmlRpcPortable.XmlRpcClient client = new XmlRpcPortable.XmlRpcClient(blogUri);

            var newComment = new XmlRpcStruct();
            newComment.StructValue.Add("content", new XmlRpcString(content));

            return client.CallRpc("wp.newComment", new List<XmlRpcValue>()
            {
                new XmlRpcInt(0),
                new XmlRpcString(appSettings.Login),
                new XmlRpcString(appSettings.Password),
                new XmlRpcString(postId),
                newComment
            });
        }
        public async Task<bool> GetProfile(string login, string password)
        {
            bool result = true;

            try
            {
                XmlRpcPortable.XmlRpcClient client = new XmlRpcPortable.XmlRpcClient(blogUri);
                await client.CallRpc("wp.getProfile", new List<XmlRpcValue>()
                {
                    new XmlRpcInt(0),
                    new XmlRpcString(login),
                    new XmlRpcString(password),
                });
            }
            catch (XmlRpcPortable.XmlRpcException)
            {
                result = false;
            }

            return result;
        }