Пример #1
0
 public LinkController(
     IMemoryCache memoryCache,
     ILinkRedirectionRepository linkRedirectionRepository,
     IClickLogRepository clickLogRepository,
     IHttpContextAccessor contextAccessor)
 {
     this.memoryCache = memoryCache;
     this.linkRedirectionRepository = linkRedirectionRepository;
     this.clickLogRepository        = clickLogRepository;
     this.httpContextAccessor       = contextAccessor;
 }
Пример #2
0
 public ReportsController(IClickLogRepository clickLogRepository)
 {
     this.clickLogRepository = clickLogRepository;
 }