public void Remove(Token token)
 {
     using (ISession session = NHibernateHelper.OpenSession())
     {
         using (ITransaction transaction = session.BeginTransaction())
         {
             session.Delete(token);
             transaction.Commit();
         }
     }
 }
 public void Store(Token token)
 {
     using (ISession session = NHibernateHelper.OpenSession())
     {
         using (ITransaction transaction = session.BeginTransaction())
         {
             session.SaveOrUpdate(token);
             transaction.Commit();
         }
     }
 }