public void Add(HashStore hashStore)
 {
     using (ISession session = nHibernateHelper.OpenSession())
         using (ITransaction transaction = session.BeginTransaction())
         {
             session.Save(hashStore);
             transaction.Commit();
         }
 }
 public void Update(HashStore hashStore)
 {
     throw new NotImplementedException();
 }