public ShortenerService( IShortenUrlRepository shortenUrlRepository, IShortenUrlLogRepository shortenUrlLogRepository) { _shortenUrlRepository = shortenUrlRepository; _logRepository = shortenUrlLogRepository; }
public ShortenUrlCommandHandler( IUrlHasher urlHasher, IShortenUrlRepository shortenUrlRepository, ICodeServiceClient codeServiceClient, IPublishEndpoint publishEndpoint, IDistributedCache distributedCache) { _urlHasher = urlHasher; _shortenUrlRepository = shortenUrlRepository; _codeServiceClient = codeServiceClient; _publishEndpoint = publishEndpoint; _distributedCache = distributedCache; }
public ShortenUrlService(IShortenUrlRepository shortenUrlRepository, ICodeService codeService) { _shortenUrlRepository = shortenUrlRepository; _codeService = codeService; }
public ShortenUrlService(IShortenUrlRepository repo, IMapper mapper, IValidationHelper validator) { _repo = repo; _mapper = mapper; _validator = validator; }
public ShortenUrlService(IShortenUrlRepository repository) { shortenUrlRepository = repository; }
public ValidationHelper(IShortenUrlRepository repo) { _repo = repo; }