public SearchSortService(RingsDbService ringsDbService)
        {
            this.ringsDbService = ringsDbService;

            this.popularityLookup = (slug) => { return(ringsDbService.GetPopularity(slug)); };
        }
 public SearchService(ProductRepository productRepository, CardRepository cardRepository, ScenarioService scenarioService, AdvancedSearchService advancedSearchService, SearchSortService sortService, RingsDbService ringsDbService, NoteService noteService)
 {
     this.productRepository     = productRepository;
     this.cardRepository        = cardRepository;
     this.scenarioService       = scenarioService;
     this.advancedSearchService = advancedSearchService;
     this.sortService           = sortService;
     this.cards          = cardRepository.Cards();
     this.ringsDbService = ringsDbService;
     this.noteService    = noteService;
     this.getPopularity  = (slug) => { return(ringsDbService.GetPopularity(slug)); };
 }