示例#1
0
        public async Task <IHttpActionResult> AGROrderCallBack([FromBody] AGROrderResponseDTO response, CancellationToken token)
        {
            if (response == null)
            {
                return(BadRequest("The response was not deserialized correctly."));
            }
            var service = new DataContractService();
            await service.LogAGROrderCallback(response, token);

            return(Ok());
        }