예제 #1
0
        // POST: /transaction/limit-order
        public static HttpResponse AddOrderLimit(HttpRequest request)
        {
            TransactionOrderLimitRequest requestData = JsonConvert.DeserializeObject <TransactionOrderLimitRequest>(request.Content);

            TransactionController controller = new TransactionController();
            var response = controller.AddOrderLimit(requestData);

            Echo(request);

            return(CreateHttpResponse(response));
        }