Example #1
0
 public AttributeService(MPInterfaces.IAttributeRepository attributeRepository,
                         MPInterfaces.IMinistryPlatformRestRepository restRepository,
                         MPInterfaces.IApiUserRepository apiUserRepository)
 {
     _attributeRepository            = attributeRepository;
     _ministryPlatformRestRepository = restRepository;
     _apiUserRepository = apiUserRepository;
 }
Example #2
0
 public ObjectAttributeService(
     MPInterfaces.IObjectAttributeRepository mpObjectAttributeService,
     IAttributeService attributeService,
     MPInterfaces.IApiUserRepository apiUserService,
     MPInterfaces.IAttributeRepository mpAttributeService)
 {
     _mpObjectAttributeService = mpObjectAttributeService;
     _attributeService         = attributeService;
     _apiUserService           = apiUserService;
     _mpAttributeService       = mpAttributeService;
 }
Example #3
0
 public TaskService(MPInterfaces.ITaskRepository taskRepository,
                    MPInterfaces.IApiUserRepository apiUserService,
                    IConfigurationWrapper configWrapper,
                    IUserImpersonationService impersonationService,
                    MPInterfaces.IUserRepository userService)
 {
     _taskRepository       = taskRepository;
     _apiUserService       = apiUserService;
     _configWrapper        = configWrapper;
     _impersonationService = impersonationService;
     _userService          = userService;
 }
Example #4
0
        public BulkEmailSyncService(
            MPInterfaces.IBulkEmailRepository bulkEmailRepository,
            MPInterfaces.IApiUserRepository apiUserService,
            IConfigurationWrapper configWrapper)
        {
            _bulkEmailRepository = bulkEmailRepository;
            _apiUserService      = apiUserService;
            _configWrapper       = configWrapper;

            _token = _apiUserService.GetToken();

            ConfigureRefreshTokenTimer();
        }
Example #5
0
 public PersonService(MPServices.IContactRepository contactService,
                      IObjectAttributeService objectAttributeService,
                      MPServices.IApiUserRepository apiUserService,
                      MPServices.IParticipantRepository participantService,
                      MPServices.IUserRepository userService,
                      MPServices.IAuthenticationRepository authenticationService)
 {
     _contactService         = contactService;
     _objectAttributeService = objectAttributeService;
     _apiUserService         = apiUserService;
     _participantService     = participantService;
     _userService            = userService;
     _authenticationService  = authenticationService;
 }
Example #6
0
 public ImageController(MPInterfaces.IMinistryPlatformService mpService, MPInterfaces.IAuthenticationRepository authenticationService, MPInterfaces.IApiUserRepository apiUserService, IUserImpersonationService userImpersonationService) : base(userImpersonationService)
 {
     _authenticationService = authenticationService;
     _apiUserService        = apiUserService;
     _mpService             = mpService;
 }
Example #7
0
 public SubscriptionsService(MPInterfaces.IMinistryPlatformService ministryPlatformService, Util.Interfaces.IEmailListHandler emailListHandler, MPInterfaces.IApiUserRepository apiUserService)
 {
     _ministryPlatformService = ministryPlatformService;
     _emailListHandler        = emailListHandler;
     _apiUserService          = apiUserService;
 }
 public OrganizationService(MPInterfaces.IOrganizationRepository organizationService, MPInterfaces.IApiUserRepository apiUserService)
 {
     _mpOrganizationService = organizationService;
     _mpApiUserService      = apiUserService;
 }