ApiCore.Questions.QuestionsFactory.JoinAnswer C# (CSharp) Method

JoinAnswer() public method

public JoinAnswer ( int u_id, int a_id ) : bool
u_id int
a_id int
return bool
        public bool JoinAnswer(int u_id, int a_id)
        {
            this.Manager.Method("questions.joinAnswer");
            this.Manager.Params("uid", u_id);
            this.Manager.Params("aid", a_id);
            string resp = this.Manager.Execute().GetResponseString();
            if (this.Manager.MethodSuccessed)
            {
                XmlDocument x = this.Manager.GetXmlDocument(resp);
                return ((x.SelectSingleNode("/response").InnerText == "1") ? true : false);
            }
            return false;
        }