Beispiel #1
0
 public HomeController(InfoHashRepository infoHashRepository, StatisticsInfoRepository statisticsInfoRepository, HomeWordRepository homeWordRepository, IMemoryCache cache)
 {
     this._infoHashRepository      = infoHashRepository;
     this.statisticsInfoRepository = statisticsInfoRepository;
     this.homeWordRepository       = homeWordRepository;
     _cache = cache;
 }
Beispiel #2
0
 public IndexController(IndexSearchService indexSearchService, InfoHashRepository infoHashRepository, StatisticsInfoRepository statisticsInfoRepository)
 {
     _indexSearchService       = indexSearchService;
     _infoHashRepository       = infoHashRepository;
     _statisticsInfoRepository = statisticsInfoRepository;
 }