Beispiel #1
0
 public void ScheduleRecurringProductUpdate()
 {
     _ifc.updateProducts();
     _solr.deleteAllDocuments();
     _solr.Populatesolr();
     _ifc.initDatabaseWithProducts();
 }
 public void updateProducts()
 {
     Console.WriteLine("Updating Products...");
     _icecat.UpdateProductsFromDaily();
     Console.WriteLine("Removing products from Solr");
     _solrService.deleteAllDocuments();
     Console.WriteLine("Populating Solr with products");
     _solrService.Populatesolr();
 }