/// <summary> /// Method for ok button of popup confirm /// </summary> private void OkPopupTapped() { IsConfirmPopupOpen = false; HitVisibility = true; ProgressBarVisibiltyOrderRepeat = Visibility.Visible; getAllOrdersModel = new GetAllOrdersModel(this, IdsToDelete); }
/// <summary> /// Method to call get all orders webservice /// </summary> private void DisplayGetAllOrders() { if (App.OrderedPillDetailsCollection.Count > 0) { OrderedPillCollection = App.OrderedPillDetailsCollection; } else { ProgressBarVisibiltyOrderRepeat = Visibility.Visible; } if (Utilities.IsConnectedToNetwork()) { RepeatHistoryTitle = "RepeatHistory"; HitVisibilityRepeat = false; getAllOrdersModel = new GetAllOrdersModel(this); } else { ProgressBarVisibiltyOrderRepeat = Visibility.Collapsed; RepeatHistoryTitle = "RepeatHistory(offline)"; ProgressBarVisibiltyOrderRepeat = Visibility.Collapsed; CheckForDisabledAccount(); } }