public ShortnerService(ILongUrlRepository longUrlRepository, ICustomUrlRepository customUrlRepository, IUrlConversion urlConversion) { this.longUrlRepository = longUrlRepository; this.customUrlRepository = customUrlRepository; this.urlConversion = urlConversion; StartCustomUrlCache(); }