예제 #1
0
 public ProductsController(
     ICacheService cacheService, IEmailService emailService, IEtsyClient etsyClient, IEbayClient ebayClient,
     IOptions <EbayConfig> ebayConfig, IInstagramClient instagramClient, IContentfulService contentfulService)
     : base(contentfulService)
 {
     _cacheService    = cacheService;
     _emailService    = emailService;
     _etsyClient      = etsyClient;
     _ebayClient      = ebayClient;
     _ebayConfig      = ebayConfig.Value;
     _instagramClient = instagramClient;
 }
 public InstagramService(IInstagramClient instagramClient)
 {
     _instagramClient = instagramClient;
 }
예제 #3
0
 public InstagramController(IOptions <InstagramConfig> instagramConfig, IInstagramClient client, IContentfulService contentfulService) : base(contentfulService)
 {
     _instagramConfig = instagramConfig.Value;
     _client          = client;
 }