public static void GenerateCreditCards(string bin, string cvv, string exMonth, string exYear, int count) { for (int i = 0; i < count; i++) { string newCard = GenerateNewCard(bin, cvv, exMonth, exYear); App.MainViewModel.GeneratedCards.Add(newCard); } AlertsHelper.ShowShortToast("Cards Has Been Generated !"); App.MainViewModel.IsBusy = false; }
public static void CheckCreditCards(string[] cards) { foreach (var card in cards) { CheckCreditCard(card); if (!App.MainViewModel.IsBusy) { return; } } App.MainViewModel.IsBusy = false; AlertsHelper.ShowAlert("Succesful", "Cards Has Been Succesfuly Checked !", "OK"); }