Пример #1
0
 public PersonService(MPServices.IContactService contactService, 
     IContactAttributeService contactAttributeService, 
     MPServices.IApiUserService apiUserService,
     MPServices.IParticipantService participantService)
 {
     _contactService = contactService;
     _contactAttributeService = contactAttributeService;
     _apiUserService = apiUserService;
     _participantService = participantService;
 }
 public ContactAttributeService(
     MPInterfaces.IContactAttributeService mpContactAttributeService,
     IAttributeService attributeService,
     MPInterfaces.IApiUserService apiUserService,
     MPInterfaces.IAttributeService mpAttributeService)
 {
     _mpContactAttributeService = mpContactAttributeService;
     _attributeService = attributeService;
     _apiUserService = apiUserService;
     _mpAttributeService = mpAttributeService;
 }
        public BulkEmailSyncService(
            MPInterfaces.IBulkEmailRepository bulkEmailRepository,
            MPInterfaces.IApiUserService apiUserService,
            IConfigurationWrapper configWrapper)
        {
            _bulkEmailRepository = bulkEmailRepository;
            _apiUserService = apiUserService;
            _configWrapper = configWrapper;

            _token = _apiUserService.GetToken();
            
            ConfigureRefreshTokenTimer();
        }
Пример #4
0
 public ImageController(MPInterfaces.IMinistryPlatformService mpService, MPInterfaces.IAuthenticationService authenticationService, MPInterfaces.IApiUserService apiUserService)
 {
     _authenticationService = authenticationService;
     _apiUserService = apiUserService;
     _mpService = mpService;
 }