protected InstagramApiService( IInstagramProvider instagramProvider, ILogger <InstagramApiService> logger) { this.InstagramProvider = instagramProvider; this.Logger = logger; }
public TransferService( IInstagramProvider instagramProvider, ILogger <TransferService> logger, string outputFolder, IChannelsService channelsService, IMediaService mediaService, int threshold) : base(instagramProvider, logger) { this.outputFolder = outputFolder; this.channelsService = channelsService; this.mediaService = mediaService; this.threshold = threshold; this.InstagramProvider.Login().Wait(); }