Esempio n. 1
0
        private async void ExecuteCancelBillOfLadingLanding(CancelBillOfLadingLandingModel model)
        {
            var cancelBillOfLadingLanding = await _landingService.CancelBillOfLadingLanding(model);

            if (cancelBillOfLadingLanding.Response != null && cancelBillOfLadingLanding.Response.Valid)
            {
                await SetPackingListLanding();
            }
            else
            {
                await _notificationService.NotifyAsync(cancelBillOfLadingLanding.Response?.ExceptionMessage,
                                                       SoundEnum.Erros);
            }
        }
 public async Task <HttpRequestResult <PackingListViewInfoModel> > CancelBillOfLadingLanding(
     CancelBillOfLadingLandingModel model)
 {
     return(await PutAsyncReceiveData <PackingListViewInfoModel, CancelBillOfLadingLandingModel>(
                $"{ApiController}/cancel-bill-of-fading-landing", model));
 }