/// <summary> /// Save the data /// </summary> private void SaveChanges() { bool IsDataValid = false; IsDataValid = IsValidData(); if (Utilities.IsConnectedToNetwork()) { if (IsDataValid) { HitVisibility = false; IsSuccessUpdatePopupOpen = false; IsPopupOpen = false; objYourDetUpdateModel = new YourDetailsUpdateModel(this,"UpdateData"); } } else { IsPopupOpen = true; PopupText = "No connectivity."; HitVisibility = false; } }
/// <summary> /// Method to get the user details for update /// </summary> private void GetUserDetails() { objYourDetUpdateModel = new YourDetailsUpdateModel(this, "GetData"); }