Example #1
0
 public void Fill()
 {
     var repository = new Defs(Conexao.CreateSessionFactory().OpenSession());
     var defs = repository.All<Def>().ToList();
     var defsDTO = Convert(defs);
     var service = new SaveDefInLuceneService();
     service.Save(defsDTO);
 }