public RankController(ComicRankService comicRankService, IMemoryCache memoryCache, HotSearchService hotSearchService) { this.hotSearchService = hotSearchService; this.memoryCache = memoryCache; this.comicRankService = comicRankService; }
public ReadingController(ComicRankService comicRankService, IRootFetcher rootFetcher, IMemoryCache memoryCache, SearchEngine searchEngine, ComicEngine comicEngine, HotSearchService hotSearchService, IServiceScopeFactory scopeFactory) { this.scopeFactory = scopeFactory; this.comicEngine = comicEngine; this.hotSearchService = hotSearchService; this.searchEngine = searchEngine; this.memoryCache = memoryCache; this.comicRankService = comicRankService; this.rootFetcher = rootFetcher; }