public ActionResult Index() { BaseEfUnitOfWork content = new CodeFirstContext(); LuceneIndexingService Service = new LuceneIndexingService(content); Service.UpdateIndex(); return View(); }
public LuceneIndexingJob(TimeSpan frequence, TimeSpan timeout) : base("Lucene", frequence, timeout) { _indexingService = new LuceneIndexingService(); _indexingService.UpdateIndex(); }
public void TestMethod3() { BaseEfUnitOfWork content = new CodeFirstContext(); LuceneIndexingService Service = new LuceneIndexingService(content); Service.UpdateIndex(); }