/// <summary>
        /// OnNavigatedTo event
        /// </summary>
        /// <param name="e"></param>
        protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
        {
            popupSuccess.IsOpen = false;
            popup.IsOpen = false;
            yourDetailsLoginVM = new StateHelper().RestorePageLevelData<YourDetailsLoginViewModel>(_yourDetailsLoginVMKey);
            if ((App.IsToombStoned) || (!string.IsNullOrEmpty(App.SelectedSurgen)) )
            {
                
                if (yourDetailsLoginVM != null)
                {
                    if ((string.IsNullOrEmpty(App.SelectedSurgen) || string.IsNullOrWhiteSpace(App.SelectedSurgen)))
                    {
                        yourDetailsLoginVM.ButtonValue = "Choose Doctor for surgery (Optional)";
                    }
                    else
                    yourDetailsLoginVM.ButtonValue = App.SelectedSurgen;
                }
                else
                {
                    yourDetailsLoginVM = new YourDetailsLoginViewModel();
                }
            }
            else
            {
               
                if (yourDetailsLoginVM == null)
                {
                    
                    yourDetailsLoginVM = new YourDetailsLoginViewModel();
                }
                else if (string.IsNullOrEmpty(App.SelectedSurgen) || string.IsNullOrWhiteSpace(App.SelectedSurgen))
                {
                    yourDetailsLoginVM.ButtonValue = "Choose Doctor for surgery (Optional)";
                }
                else
                {
                    yourDetailsLoginVM.ButtonValue = App.SelectedSurgen;
                }
            }

            yourDetailsLoginVM.HitVisibility = true;
            yourDetailsLoginVM.ProgressBarVisibilty = Visibility.Collapsed;
            

            this.DataContext = yourDetailsLoginVM;
            new StateHelper().ClearPageLevelData<YourDetailsLoginViewModel>(_yourDetailsLoginVMKey, yourDetailsLoginVM);
           
            base.OnNavigatedTo(e);
            App.TombStonedPageURL = PageURL.navigateToYourDetailsLoginURL;
            if (!e.IsNavigationInitiator)
            {
                popupSuccess.IsOpen = false;
                popup.IsOpen = false;
                App.IsToombStoned = false;
                NavigationService.Navigate(new Uri(PageURL.navigateToEnterPinURL, UriKind.RelativeOrAbsolute));
            }
           
        }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="objYourDetloginVM"></param>
 public YourDetailsLoginModel(YourDetailsLoginViewModel objYourDetloginVM)
 {
     objYourDetlginViewModel = objYourDetloginVM;
     CallSendNominationWebService();
 }