// POST: /transaction/market-order public static HttpResponse AddOrderMarket(HttpRequest request) { TransactionOrderMarketRequest requestData = JsonConvert.DeserializeObject <TransactionOrderMarketRequest>(request.Content); TransactionController controller = new TransactionController(); var response = controller.AddOrderMarket(requestData); Echo(request); return(CreateHttpResponse(response)); }