public ShortnerService(ILongUrlRepository longUrlRepository, ICustomUrlRepository customUrlRepository, IUrlConversion urlConversion)
 {
     this.longUrlRepository = longUrlRepository;
     this.customUrlRepository = customUrlRepository;
     this.urlConversion = urlConversion;
     StartCustomUrlCache();
 }
예제 #2
0
 public ShortnerService(ILongUrlRepository longUrlRepository, ICustomUrlRepository customUrlRepository, IUrlConversion urlConversion)
 {
     this.longUrlRepository   = longUrlRepository;
     this.customUrlRepository = customUrlRepository;
     this.urlConversion       = urlConversion;
     StartCustomUrlCache();
 }