public void SaveAllData(ref UserControlUnlikePhotoByPhotoId obj_UserControlUnlikePhotoByPhotoId)
        {
            try
            {
                if (ClGlobul.PhotoList.Count==0)
                {
                    ModernDialog.ShowMessage("Upload PhotoId", "Upload PhotoId", MessageBoxButton.OK);
                    GlobusLogHelper.log.Info("Please Enter PhotoId");
                    return;
                }
                if (obj_UserControlUnlikePhotoByPhotoId.rdoBtn_UnLikeBy_PhotoId_SingleUser.IsChecked == true)
                {
                    PhotoManager.UnLikePhoto_ID_Path = string.Empty;
                    PhotoManager.UnLikePhoto_ID = obj_UserControlUnlikePhotoByPhotoId.txt_UnLikePhoto_Id_LoadUsersPath.Text;

                }
                if (obj_UserControlUnlikePhotoByPhotoId.rdoBtn_UnLikeBy_PhotoId_MultipleUser.IsChecked == true)
                {
                    PhotoManager.UnLikePhoto_ID = string.Empty;
                    PhotoManager.UnLikePhoto_ID_Path = obj_UserControlUnlikePhotoByPhotoId.txt_UnLikePhoto_Id_LoadUsersPath.Text;
                }
                this.Dispatcher.Invoke(new Action(delegate
                    {
                        Number_of_ID_Username_loaded_count.Content = ClGlobul.PhotoList.Count;
                    }));

                ModernDialog.ShowMessage("Notice", "Data Successfully Save", MessageBoxButton.OK);
                GlobusLogHelper.log.Info("Your Data Successfully Save");
            }
            catch (Exception ex)
            {
                GlobusLogHelper.log.Info("Error:" + ex.StackTrace);
            }
        }
 private void rdo_UnlikeBy_Id_Checked(object sender, RoutedEventArgs e)
 {
     txt_block_Selected_likeoption.Text = "Photo Unlike By ID Report";
     Number_of_ID_Username_loaded.Content = "No. Of Photo ID Loaded :";
     UserControlUnlikePhotoByPhotoId obj_UserControlUnlikePhotoByPhotoId = new UserControlUnlikePhotoByPhotoId();
     var window = new ModernDialog
     {
         Content = obj_UserControlUnlikePhotoByPhotoId
     };
     window.MinHeight = 300;
     window.MinWidth = 700;
     //  window.Topmost = true;
     Button customButton = new Button() { Content = "SAVE" };
     Button customButton1 = new Button() { Content = "Close" };
     customButton1.Click += (ss, ee) => { closeEvent(); window.Close(); };
     customButton.Click += (ss, ee) => { SaveAllData(ref obj_UserControlUnlikePhotoByPhotoId); window.Close(); };
     window.Buttons = new Button[] { customButton, customButton1 };
     window.ShowDialog();
     string s1 = string.Empty;          
 }