public void SaveDeleted(TEntity entity)
 {
     SessionFactory.GetCurrentSession().Delete(entity);
 }
 public void SaveCreated(TEntity entity)
 {
     SessionFactory.GetCurrentSession().Save(entity);
 }
 public void SaveAmended(TEntity entity)
 {
     SessionFactory.GetCurrentSession().SaveOrUpdate(entity);
 }