public async void RemoveCard() { try { ResourceLoader resourceLoader = new ResourceLoader(); bool removeResult = await new ApplicationMainPopupManager().ShowPopupAsync(MbwayPopupManager.MbwayPopupType.Delete, string.Format(resourceLoader.GetString("ListCards_RemoveCardMessageFormat"), SelectedCard.Name), MbwayPopupManager.MbwayPopupDefaultButtons.OkCancel); if (removeResult) { string codAut = await new ApplicationMainPopupManager().ShowPopupInputPinMbWayAsync(); if (!string.IsNullOrEmpty(codAut)) { IsLoading = true; if (cardsManager != null) { cardsManager.DisassociateBankCardData(codAut, SelectedCard.Idc, DisassociateBankCardDataCallback); } } } } catch (Exception) { } }