public LegacyRedirectsMapper(BusinessId businessId, LegacyUrlRedirects legacyUrlRedirects, ShortUrlRedirects shortUrlRedirects, IRepository repository) { _businessId = businessId; _legacyUrlRedirects = legacyUrlRedirects; _shortUrlRedirects = shortUrlRedirects; _repository = repository; }
public ShortUrlRedirectsMiddleware(RequestDelegate next, ShortUrlRedirects shortUrlRedirects, LegacyUrlRedirects legacyUrlRedirects, ILogger <ShortUrlRedirectsMiddleware> logger, IRepository repository) { _next = next; _shortUrlRedirects = shortUrlRedirects; _legacyUrlRedirects = legacyUrlRedirects; _logger = logger; _repository = repository; }
public RedirectsRepository(IContentfulClientManager clientManager, Func <string, ContentfulConfig> createConfig, RedirectBusinessIds redirectBusinessIds, IContentfulFactory <ContentfulRedirect, BusinessIdToRedirects> contenfulFactory, ShortUrlRedirects shortUrlRedirects, LegacyUrlRedirects legacyUrlRedirects) { _createConfig = createConfig; _redirectBusinessIds = redirectBusinessIds; ClientManager = clientManager; _contenfulFactory = contenfulFactory; _shortUrlRedirects = shortUrlRedirects; _legacyUrlRedirects = legacyUrlRedirects; }