示例#1
0
 public AttributeService(MPInterfaces.IAttributeRepository attributeRepository,
                         MPInterfaces.IMinistryPlatformRestRepository restRepository,
                         MPInterfaces.IApiUserRepository apiUserRepository)
 {
     _attributeRepository            = attributeRepository;
     _ministryPlatformRestRepository = restRepository;
     _apiUserRepository = apiUserRepository;
 }
示例#2
0
 public ObjectAttributeService(
     MPInterfaces.IObjectAttributeRepository mpObjectAttributeService,
     IAttributeService attributeService,
     MPInterfaces.IApiUserRepository apiUserService,
     MPInterfaces.IAttributeRepository mpAttributeService)
 {
     _mpObjectAttributeService = mpObjectAttributeService;
     _attributeService         = attributeService;
     _apiUserService           = apiUserService;
     _mpAttributeService       = mpAttributeService;
 }
示例#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;
 }
示例#4
0
        public BulkEmailSyncService(
            MPInterfaces.IBulkEmailRepository bulkEmailRepository,
            MPInterfaces.IApiUserRepository apiUserService,
            IConfigurationWrapper configWrapper)
        {
            _bulkEmailRepository = bulkEmailRepository;
            _apiUserService      = apiUserService;
            _configWrapper       = configWrapper;

            _token = _apiUserService.GetToken();

            ConfigureRefreshTokenTimer();
        }
示例#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;
 }
示例#6
0
 public ImageController(MPInterfaces.IMinistryPlatformService mpService, MPInterfaces.IAuthenticationRepository authenticationService, MPInterfaces.IApiUserRepository apiUserService, IUserImpersonationService userImpersonationService) : base(userImpersonationService)
 {
     _authenticationService = authenticationService;
     _apiUserService        = apiUserService;
     _mpService             = mpService;
 }
示例#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;
 }