Пример #1
0
        private HttpContent MakeContent(PaymentData data)
        {
            var content = JsonConvert.SerializeObject(data);

            return(new StringContent(content, System.Text.Encoding.UTF8, "application/json"));
        }