public bool Add(string text, int type)
{
this.Manager.Method("questions.add");
this.Manager.Params("text", text);
this.Manager.Params("type", type);
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;
}