Exemplo n.º 1
0
        private async void ExecuteCancelPackBoarding(CancelPackBoardingModel model)
        {
            var cancelPackLanding = await _boardingService.CancelPackBoarding(model);

            if (cancelPackLanding.Response != null && cancelPackLanding.Response.Valid)
            {
                SetPackingListDelivery(cancelPackLanding.Response);
            }
            else
            {
                await _notificationService.NotifyAsync(cancelPackLanding.Response?.ExceptionMessage, SoundEnum.Erros);
            }
        }
        private async void ExecuteCancelPackBoarding(CancelPackBoardingModel model)
        {
            var packingListViewInfo = await _boardingService.CancelPackBoarding(model);

            await SetPackingListViewInfo(packingListViewInfo.Response);
        }