Exemple #1
0
        public async Task <IActionResult> Cancelorder(int id)
        {
            var result = await _transportService.CancelShippingOrder(id);

            if (!result.IsSuccess)
            {
                return(BadRequest(result));
            }
            return(Ok(result));
        }