public LinkManagementController(
     ILinkRedirectionRepository linkRedirectionRepository,
     IMemoryCache memoryCache)
 {
     this.memoryCache = memoryCache;
     this.linkRedirectionRepository = linkRedirectionRepository;
 }
Exemple #2
0
 public LinkController(
     IMemoryCache memoryCache,
     ILinkRedirectionRepository linkRedirectionRepository)
 {
     _memoryCache = memoryCache;
     _linkRedirectionRepository = linkRedirectionRepository;
 }
Exemple #3
0
 public LinkController(
     IMemoryCache memoryCache,
     ILinkRedirectionRepository linkRedirectionRepository,
     IClickLogRepository clickLogRepository,
     IHttpContextAccessor contextAccessor)
 {
     this.memoryCache = memoryCache;
     this.linkRedirectionRepository = linkRedirectionRepository;
     this.clickLogRepository        = clickLogRepository;
     this.httpContextAccessor       = contextAccessor;
 }
Exemple #4
0
 public LinkManagementController(ILinkRedirectionRepository linkRedirectionRepository)
 {
     _linkRedirectionRepository = linkRedirectionRepository;
 }