protected void btnReset_Click(object sender, EventArgs e)
 {
     using (PhotoProcessingDataContext dataDB = new PhotoProcessingDataContext())
     {
         var counter = from a in dataDB.Photo_CustomerRegistrationDetails where a.Email == login_id select a;
         var update = counter.FirstOrDefault();
         Photo_Change_Password_logBL obj = new Photo_Change_Password_logBL(txtNewpassword.Text, update.Password, DateTime.Now, update.Customer_id);
         obj.Insert();
         update.Password = txtNewpassword.Text;
         dataDB.SubmitChanges();
         lbResponse.Text = "Reset Successfully!";
     }
 }
 internal static bool Delete(Photo_Change_Password_logBL photo_Change_Password_logBL)
 {
     PhotoProcessingHelper.Context.sp_Photo_Change_Password_logNewDeleteCommand(photo_Change_Password_logBL.Change_pwd_id);
     return true;
 }
    internal static bool Update(Photo_Change_Password_logBL photo_Change_Password_logBL)
    {
        PhotoProcessingHelper.Context.sp_Photo_Change_Password_logNewUpdateCommand(photo_Change_Password_logBL.New_Password, photo_Change_Password_logBL.Old_Password, photo_Change_Password_logBL.Date_of_change, photo_Change_Password_logBL.FkCustomer_id, photo_Change_Password_logBL.Change_pwd_id, photo_Change_Password_logBL.Change_pwd_id);
        return true;

    }