Example #1
0
        public ResponseCreditCardTransaction Execute(RequestCreditCardTransation requestCreditCardTransation)
        {
            ProxyHttp <ResponseCreditCardTransaction> http
                = new ProxyHttp <ResponseCreditCardTransaction>(_httpClientFactory, _config);
            Task <ResponseCreditCardTransaction> response = http.Post("api/v1/CreditCardTransaction", requestCreditCardTransation);

            return(response.Result);
        }
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member 'TestApiController.Get()'
        public ActionResult <RequestCreditCardTransation> Get()
#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member 'TestApiController.Get()'
        {
            ProxyHttp <RequestCreditCardTransation> http
                = new ProxyHttp <RequestCreditCardTransation>(_httpClientFactory, _config);
            Task <RequestCreditCardTransation> o = http.Post("api/v1/CreditCardTransaction", new ResponseCreditCardTransaction());

            return(o.Result);
        }