Esempio n. 1
0
        public NegotiatedContentResult <GetActiveOrderCountResponse> PostOrderCount([FromBody] GetActiveOrderCountRequest request)
        {
            var properties = new Dictionary <string, string> {
                { "request", JsonConvert.SerializeObject(request) }
            };

            tm.TrackEvent(TelemetryEvents.GetActiveOrderCount, properties);

            GetActiveOrderCountResponse resp = _ordersServices.GetActiveOrderCount(request);

            return(Content(HttpStatusCode.OK, resp));
        }