private async void ConfirmationCommandHandler() { if (Model.BillOfLadingPackLvItems.Any(item => item.Checked)) { if (await _notificationService.AskQuestionAsync( "Confirma solicitação de impressão do(s) volume(s) selecionado(s)?", SoundEnum.Alert)) { await _popupNavigation.PushAsync(new LoadingPopupPage()); var result = await _billOfLadingService.SendListBillOfLadingPack( new SendListBillOfLadingPackModel(_wifiService.MacAddress, Model.BillOfLadingPackLvItems.Where(item => item.Checked) .Select(item => item.BillOfLadingPack.Id.ToString()))); await _popupNavigation.PopAllAsync(); if (result.IsSuccessStatusCode) { await _notificationService.NotifyAsync("Solicitação enviada com sucesso.", SoundEnum.Alert); await NavigationService.GoBackAsync(); } } } else { await _notificationService.NotifyAsync("Selecione ao menos um volume.", SoundEnum.Erros); } }