public RedirectService(UrlResolver urlResolver, ISiteDefinitionRepository siteDefinitionRepository, ILanguageBranchRepository languageBranchRepository) { _urlResolver = urlResolver; _siteDefinitionRepository = siteDefinitionRepository; _languageBranchRepository = languageBranchRepository; RedirectRuleStorage.Init(); }
public RedirectService(UrlResolver urlResolver, IContentRepository contentRepository, ISiteDefinitionRepository siteDefinitionRepository) { _urlResolver = urlResolver; _contentRepository = contentRepository; _siteDefinitionRepository = siteDefinitionRepository; RedirectRuleStorage.Init(); }