public TermSearchService(ProviderSettings providerSettings) { _accessTokenService = new AccessTokenService(); _domains = DomainService.GetDomains(); _termTypes = TermTypeService.GetTermTypes(); _providerSettings = providerSettings; }
public TermSearchService(SettingsModel providerSettings) { _accessTokenService = new AccessTokenService(); TermTypes = new ObservableCollection <TermTypeModel>(); _domains = DomainService.Domains; _termTypeService = new TermTypeService(); LoadTermTypes(); _providerSettings = providerSettings; }