Ejemplo n.º 1
0
        public BulkEmailSyncService(
            MPInterfaces.IBulkEmailRepository bulkEmailRepository,
            IApiUserRepository apiUserService,
            IConfigurationWrapper configWrapper)
        {
            _bulkEmailRepository = bulkEmailRepository;
            _apiUserService      = apiUserService;
            _configWrapper       = configWrapper;

            _token = _apiUserService.GetToken();

            ConfigureRefreshTokenTimer();
        }
 public MailchimpListHandler(IConfigurationWrapper configWrapper, MPInterfaces.IBulkEmailRepository bulkEmailRepository, IRestClient mailchimpRestClient)
 {
     _configWrapper       = configWrapper;
     _bulkEmailRepository = bulkEmailRepository;
     _restClient          = mailchimpRestClient;
 }