예제 #1
0
 public HomeController(ISolrIndexService <PhotoSearch> solr, ISolrIndexService <SolrPostModel> solrIndexService)
 {
     this.solr         = solr;
     _solrIndexService = solrIndexService;
 }
예제 #2
0
 public ValuesController(ISolrIndexService <SolrNewsEntity> _solr)
 {
     solrIndexService = _solr;
 }
예제 #3
0
 public PostController(ISolrIndexService <PostModel> solrIndexService, PostDbContext postDbContext)
 {
     this.solrIndexService = solrIndexService;
     this.postDbContext    = postDbContext;
 }
예제 #4
0
 public NewsApplicationServices(IGenericRepository <NewsEntity> _db, ISolrIndexService <SolrNewsEntity> _solr)
 {
     _Db   = _db;
     _Solr = _solr;
 }