Exemple #1
0
        public ActionResult Index()
        {
            BaseEfUnitOfWork content = new CodeFirstContext();
            LuceneIndexingService Service = new LuceneIndexingService(content);
            Service.UpdateIndex();

            return View();
        }
 public LuceneIndexingService(IUnitOfWork entitiesContext)
 {
     _entitiesContext = (CodeFirstContext)entitiesContext;
 }
Exemple #3
0
 public void TestMethod3()
 {
     BaseEfUnitOfWork content = new CodeFirstContext();
     LuceneIndexingService Service = new LuceneIndexingService(content);
     Service.UpdateIndex();
 }