public void UpdateAirWaybill(UpdateAirWaybillInputDto inputDto) { var order = _orderRepository.Get(inputDto.Id); Validate.Found(order, "Orderan"); order.ChangeAirWaybill(inputDto.AirWaybill); UpdateTrackingInfo(order.Id); _orderRepository.Update(order); }
public IActionResult UpdateAirWaybill(UpdateAirWaybillInputDto inputDto) { _orderAppService.UpdateAirWaybill(inputDto); return(Ok()); }