public bool Run(string transaction) { Request = new FactoidSubmitRequest(); Request.param.transaction = transaction; return(Run(Request)); }
public bool Run(FactoidSubmitRequest requestData) { var reply = Client.MakeRequest <FactoidSubmitRequest>(requestData); JsonReply = reply.Content; if (reply.StatusCode == System.Net.HttpStatusCode.OK) { Result = JsonConvert.DeserializeObject <FactoidSubmitResult>(reply.Content); return(true); } return(false); }