Exemplo n.º 1
0
        public bool Run(string transaction)
        {
            Request = new FactoidSubmitRequest();
            Request.param.transaction = transaction;

            return(Run(Request));
        }
Exemplo n.º 2
0
        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);
        }