예제 #1
0
        public IHttpActionResult Test()
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest());
            }

            //string result = "Success";
            string result = new DistributeArriveExecutor().Test();

            return(Ok(result));
        }
예제 #2
0
        public IHttpActionResult agvCallback([FromBody] JObject reqInfo)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest());
            }

            IDistributeArriveExecutor service = new DistributeArriveExecutor();
            string result = service.DistributeArriveHandle(reqInfo);

            return(Ok(result));
        }