コード例 #1
0
        public async Task <IActionResult> Pickup([FromBody] CourierRequest request)
        {
            if (request == null || !ModelState.IsValid)
            {
                return(BadRequest("Courier Pickup request could not be parsed"));
            }

            await service.Process(request);

            return(Ok());
        }