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

DeleteAnswer() public method

public DeleteAnswer ( int u_id, int a_id ) : bool
u_id int
a_id int
return bool
        public bool DeleteAnswer(int u_id, int a_id)
        {
            this.Manager.Method("questions.deleteAnswer");
            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;
        }