Example #1
0
        public DonorRepository(IMinistryPlatformService ministryPlatformService, IMinistryPlatformRestRepository ministryPlatformRestRepository, IProgramRepository programService, ICommunicationRepository communicationService, IAuthenticationRepository authenticationService, IContactRepository contactService, IConfigurationWrapper configuration, ICryptoProvider crypto)
            : base(authenticationService, configuration)
        {
            _ministryPlatformService        = ministryPlatformService;
            _ministryPlatformRestRepository = ministryPlatformRestRepository;
            _programService       = programService;
            _communicationService = communicationService;
            _contactService       = contactService;
            _crypto = crypto;

            _donorPageId                          = configuration.GetConfigIntValue("Donors");
            _donationPageId                       = configuration.GetConfigIntValue("Donations");
            _donationDistributionPageId           = configuration.GetConfigIntValue("Distributions");
            _donorAccountsPageId                  = configuration.GetConfigIntValue("DonorAccounts");
            _findDonorByAccountPageViewId         = configuration.GetConfigIntValue("FindDonorByAccountPageView");
            _donationStatusesPageId               = configuration.GetConfigIntValue("DonationStatus");
            _donorLookupByEncryptedAccount        = configuration.GetConfigIntValue("DonorLookupByEncryptedAccount");
            _myHouseholdDonationDistributions     = configuration.GetConfigIntValue("MyHouseholdDonationDistributions");
            _recurringGiftBySubscription          = configuration.GetConfigIntValue("RecurringGiftBySubscription");
            _recurringGiftPageId                  = configuration.GetConfigIntValue("RecurringGifts");
            _myDonorPageId                        = configuration.GetConfigIntValue("MyDonor");
            _myHouseholdDonationRecurringGifts    = configuration.GetConfigIntValue("MyHouseholdDonationRecurringGifts");
            _myHouseholdRecurringGiftsApiPageView = configuration.GetConfigIntValue("MyHouseholdRecurringGiftsApiPageView");
            _myHouseholdPledges                   = configuration.GetConfigIntValue("MyHouseholdPledges");

            _dateTimeFormat = new DateTimeFormatInfo
            {
                AMDesignator = "am",
                PMDesignator = "pm"
            };
        }
 public ResponseService(IAuthenticationService authenticationService, IConfigurationWrapper configurationWrapper, IMinistryPlatformService ministryPlatformService)
     : base(authenticationService, configurationWrapper)
 {
     _authenticationService = authenticationService;
     _configurationWrapper = configurationWrapper;
     _ministryPlatformService = ministryPlatformService;
 }
 public ObjectAttributeRepository(IAuthenticationRepository authenticationService,
                                  IConfigurationWrapper configurationWrapper,
                                  IMinistryPlatformService ministryPlatformService)
     : base(authenticationService, configurationWrapper)
 {
     _ministryPlatformService = ministryPlatformService;
 }
Example #4
0
 public DonationRepository(IMinistryPlatformService ministryPlatformService, IDonorRepository donorService, ICommunicationRepository communicationService, IPledgeRepository pledgeService, IConfigurationWrapper configuration, IAuthenticationRepository authenticationService, IApiUserRepository apiUserRepository, IMinistryPlatformRestRepository ministryPlatformRest)
     : base(authenticationService, configuration)
 {
     _ministryPlatformService       = ministryPlatformService;
     _donorService                  = donorService;
     _communicationService          = communicationService;
     _pledgeService                 = pledgeService;
     _donationsPageId               = configuration.GetConfigIntValue("Donations");
     _donationDistributionPageId    = configuration.GetConfigIntValue("Distributions");
     _donorMessageTemplateId        = configuration.GetConfigIntValue("DonorMessageTemplateId");
     _distributionPageId            = configuration.GetConfigIntValue("Distributions");
     _batchesPageId                 = configuration.GetConfigIntValue("Batches");
     _depositsPageId                = configuration.GetConfigIntValue("Deposits");
     _paymentProcessorErrorsPageId  = configuration.GetConfigIntValue("PaymentProcessorEventErrors");
     _tripDistributionsPageView     = configuration.GetConfigIntValue("TripDistributionsView");
     _gpExportPageView              = configuration.GetConfigIntValue("GPExportView");
     _paymentGPExportPageView       = configuration.GetConfigIntValue("PaymentsGPExportView");
     _scholarshipPaymentTypeId      = configuration.GetConfigIntValue("ScholarshipPaymentTypeId");
     _tripDonationMessageTemplateId = configuration.GetConfigIntValue("TripDonationMessageTemplateId");
     _donationStatusSucceeded       = configuration.GetConfigIntValue("DonationStatusSucceeded");
     _donationCommunicationsPageId  = configuration.GetConfigIntValue("DonationCommunications");
     _messagesPageId                = configuration.GetConfigIntValue("Messages");
     _donationDistributionsSubPage  = configuration.GetConfigIntValue("DonationDistributionsApiSubPageView");
     _apiUserRepository             = apiUserRepository;
     _ministryPlatformRest          = ministryPlatformRest;
 }
Example #5
0
 public AddressRepository(IConfigurationWrapper configurationWrapper, IMinistryPlatformService ministryPlatformService, IApiUserRepository apiUserService)
 {
     _ministryPlatformService = ministryPlatformService;
     _apiUserService          = apiUserService;
     _addressPageId           = configurationWrapper.GetConfigIntValue("Addresses");
     _addressApiPageViewId    = configurationWrapper.GetConfigIntValue("AddressesApiPageView");
 }
Example #6
0
 public CampaignRepository(IMinistryPlatformService ministryPlatformService, IAuthenticationRepository authenticationService, IConfigurationWrapper configurationWrapper, IMinistryPlatformRestRepository ministryPlatformRest, IApiUserRepository apiUserRepository)
     : base(authenticationService, configurationWrapper)
 {
     _ministryPlatformService = ministryPlatformService;
     _ministryPlatformRest    = ministryPlatformRest;
     _apiUserRepository       = apiUserRepository;
 }
Example #7
0
        public DonorService(IMinistryPlatformService ministryPlatformService, IProgramService programService, ICommunicationService communicationService, IAuthenticationService authenticationService, IContactService contactService,  IConfigurationWrapper configuration, ICryptoProvider crypto)
            : base(authenticationService, configuration)
        {
            _ministryPlatformService = ministryPlatformService;
            _programService = programService;
            _communicationService = communicationService;
            _contactService = contactService;
            _crypto = crypto;

            _donorPageId = configuration.GetConfigIntValue("Donors");
            _donationPageId = configuration.GetConfigIntValue("Donations");
            _donationDistributionPageId = configuration.GetConfigIntValue("Distributions");
            _donorAccountsPageId = configuration.GetConfigIntValue("DonorAccounts");
            _findDonorByAccountPageViewId = configuration.GetConfigIntValue("FindDonorByAccountPageView");
            _donationStatusesPageId = configuration.GetConfigIntValue("DonationStatus");
            _donorLookupByEncryptedAccount = configuration.GetConfigIntValue("DonorLookupByEncryptedAccount");
            _myHouseholdDonationDistributions = configuration.GetConfigIntValue("MyHouseholdDonationDistributions");
            _recurringGiftBySubscription = configuration.GetConfigIntValue("RecurringGiftBySubscription");
            _recurringGiftPageId = configuration.GetConfigIntValue("RecurringGifts");
            _myDonorPageId = configuration.GetConfigIntValue("MyDonor");
            _myHouseholdDonationRecurringGifts = configuration.GetConfigIntValue("MyHouseholdDonationRecurringGifts");
            _myHouseholdRecurringGiftsApiPageView = configuration.GetConfigIntValue("MyHouseholdRecurringGiftsApiPageView");
            _myHouseholdPledges = configuration.GetConfigIntValue("MyHouseholdPledges");

            _dateTimeFormat = new DateTimeFormatInfo
            {
                AMDesignator = "am",
                PMDesignator = "pm"
            };

        }
 public FormSubmissionRepository(IMinistryPlatformService ministryPlatformService, IDbConnection dbConnection, IAuthenticationRepository authenticationService, IConfigurationWrapper configurationWrapper, IMinistryPlatformRestRepository ministryPlatformRest)
     : base(authenticationService, configurationWrapper)
 {
     _ministryPlatformService        = ministryPlatformService;
     _ministryPlatformRestRepository = ministryPlatformRest;
     _dbConnection = dbConnection;
 }
Example #9
0
 public ProgramService(IMinistryPlatformService ministryPlatformService, IAuthenticationService authenticationService, IConfigurationWrapper configurationWrapper)
     : base(authenticationService, configurationWrapper)
 {
     _ministryPlatformService = ministryPlatformService;
     _onlineGivingProgramsPageViewId = configurationWrapper.GetConfigIntValue("OnlineGivingProgramsPageViewId");
     _programsPageId = configurationWrapper.GetConfigIntValue("Programs");
 }
Example #10
0
 public GroupConnectorRepository(IMinistryPlatformService ministryPlatformService, IMinistryPlatformRestRepository ministryPlatformRestRepository, IAuthenticationRepository authenticationService, IConfigurationWrapper configuration)
     : base(authenticationService, configuration)
 {
     _ministryPlatformService        = ministryPlatformService;
     _ministryPlatformRestRepository = ministryPlatformRestRepository;
     _apiToken = ApiLogin();
 }
 public ProgramRepository(IMinistryPlatformService ministryPlatformService, IAuthenticationRepository authenticationService, IConfigurationWrapper configurationWrapper)
     : base(authenticationService, configurationWrapper)
 {
     _ministryPlatformService        = ministryPlatformService;
     _onlineGivingProgramsPageViewId = configurationWrapper.GetConfigIntValue("OnlineGivingProgramsPageViewId");
     _programsPageId = configurationWrapper.GetConfigIntValue("Programs");
 }
Example #12
0
 public void SetUp()
 {
     _configurationWrapper = new ConfigurationWrapper();
     _platformService = new PlatformServiceClient();
     _ministryPlatformService = new MinistryPlatformServiceImpl(_platformService, _configurationWrapper);
     _lookupService = new LookupService(_fixture, _configurationWrapper, _ministryPlatformService);
     _fixture = new AuthenticationServiceImpl(_platformService, _ministryPlatformService);
 }
 public PrivateInviteService(IMinistryPlatformService ministryPlatformService, IAuthenticationService authenticationService, IConfigurationWrapper configurationWrapper)
     : base(authenticationService, configurationWrapper)
 {
     _ministryPlatformService = ministryPlatformService;
     _configurationWrapper = configurationWrapper;
     _tripPrivateInviteId = _configurationWrapper.GetConfigIntValue("TripPrivateInvite");
     _tripInvitationsPageId = _configurationWrapper.GetConfigIntValue("TripInvitations");
 }
 public InvitationRepository(IMinistryPlatformService ministryPlatformService,
                             IConfigurationWrapper configurationWrapper,
                             IAuthenticationRepository authenticationService)
     : base(authenticationService, configurationWrapper)
 {
     _ministryPlatformService = ministryPlatformService;
     _invitationPageId        = _configurationWrapper.GetConfigIntValue("InvitationPageID");
 }
Example #15
0
        public PledgeService(IMinistryPlatformService ministryPlatformService, IAuthenticationService authenticationService, IConfigurationWrapper configurationWrapper)
            : base(authenticationService, configurationWrapper)
        {
            _ministryPlatformService = ministryPlatformService;

            _pledgePageId = configurationWrapper.GetConfigIntValue("Pledges");
            _myHouseholdPledges = configurationWrapper.GetConfigIntValue("MyHouseholdPledges");
        }
Example #16
0
 public void SetUp()
 {
     _configurationWrapper    = new ConfigurationWrapper();
     _platformService         = new PlatformServiceClient();
     _ministryPlatformService = new MinistryPlatformServiceImpl(_platformService, _configurationWrapper);
     _lookupRepository        = new LookupRepository(_fixture, _configurationWrapper, _ministryPlatformService);
     _fixture = new AuthenticationServiceImpl(_platformService, _ministryPlatformService);
 }
 public PrivateInviteRepository(IMinistryPlatformService ministryPlatformService, IAuthenticationRepository authenticationService, IConfigurationWrapper configurationWrapper)
     : base(authenticationService, configurationWrapper)
 {
     _ministryPlatformService = ministryPlatformService;
     _configurationWrapper    = configurationWrapper;
     _tripPrivateInviteId     = _configurationWrapper.GetConfigIntValue("TripPrivateInvite");
     _tripInvitationsPageId   = _configurationWrapper.GetConfigIntValue("TripInvitations");
 }
Example #18
0
 public UserRepository(IAuthenticationRepository authenticationService, IConfigurationWrapper configurationWrapper,
                       IMinistryPlatformService ministryPlatformService, IMinistryPlatformRestRepository ministryPlatformRest) : base(authenticationService, configurationWrapper)
 {
     _ministryPlatformService  = ministryPlatformService;
     _ministryPlatformRest     = ministryPlatformRest;
     _usersApiLookupPageViewId = _configurationWrapper.GetConfigIntValue("UsersApiLookupPageView");
     _usersPageId = _configurationWrapper.GetConfigIntValue("Users");
 }
Example #19
0
 public RoomRepository(IMinistryPlatformService ministryPlatformService,
                       IMinistryPlatformRestRepository ministryPlatformRestRepository,
                       IAuthenticationRepository authenticationService,
                       IConfigurationWrapper configuration)
     : base(authenticationService, configuration)
 {
     _ministryPlatformService        = ministryPlatformService;
     _ministryPlatformRestRepository = ministryPlatformRestRepository;
 }
Example #20
0
        public ResponseRepository(IAuthenticationRepository authenticationService, IConfigurationWrapper configurationWrapper, IMinistryPlatformService ministryPlatformService)
            : base(authenticationService, configurationWrapper)
        {
            _authenticationService   = authenticationService;
            _configurationWrapper    = configurationWrapper;
            _ministryPlatformService = ministryPlatformService;

            _signupToServeRemindersId = _configurationWrapper.GetConfigIntValue("SignupToServeReminders");
        }
Example #21
0
 public EventService(IMinistryPlatformService ministryPlatformService,
                     IAuthenticationService authenticationService,
                     IConfigurationWrapper configurationWrapper,
                     IGroupService groupService)
     : base(authenticationService, configurationWrapper)
 {
     _ministryPlatformService = ministryPlatformService;
     _groupService = groupService;
 }
Example #22
0
        public PledgeRepository(IMinistryPlatformService ministryPlatformService, IMinistryPlatformRestRepository ministryPlatformRestRepository, IAuthenticationRepository authenticationService, IConfigurationWrapper configurationWrapper)
            : base(authenticationService, configurationWrapper)
        {
            _ministryPlatformService        = ministryPlatformService;
            _ministryPlatformRestRepository = ministryPlatformRestRepository;

            _pledgePageId       = configurationWrapper.GetConfigIntValue("Pledges");
            _myHouseholdPledges = configurationWrapper.GetConfigIntValue("MyHouseholdPledges");
        }
Example #23
0
 public GroupService(IMinistryPlatformService ministryPlatformService, IConfigurationWrapper configurationWrapper, IAuthenticationService authenticationService, ICommunicationService communicationService, IContactService contactService, IContentBlockService contentBlockService)
     : base(authenticationService, configurationWrapper)
 {
     this.ministryPlatformService = ministryPlatformService;
     this._configurationWrapper = configurationWrapper;
     this._communicationService = communicationService;
     this._contactService = contactService;
     this._contentBlockService = contentBlockService;
 }
 public ContactAttributeService(IAuthenticationService authenticationService, 
     IConfigurationWrapper configurationWrapper, 
     IMinistryPlatformService ministryPlatformService, 
     IApiUserService apiUserService)
     : base(authenticationService, configurationWrapper)
 {
     _ministryPlatformService = ministryPlatformService;
     _apiUserService = apiUserService;
 }
 public TaskRepository(IAuthenticationRepository authenticationService, IConfigurationWrapper configurationWrapper,
                       IMinistryPlatformService ministryPlatformService, IMinistryPlatformRestRepository ministryPlatformRestRepository) :
     base(authenticationService, configurationWrapper)
 {
     _ministryPlatformService        = ministryPlatformService;
     _ministryPlatformRestRepository = ministryPlatformRestRepository;
     _autoStartedTaskPageViewId      = _configurationWrapper.GetConfigIntValue("TasksNeedingAutoStarted");
     _roomReservationPageID          = _configurationWrapper.GetConfigIntValue("RoomReservationPageId");
 }
 public OpportunityServiceImpl(IMinistryPlatformService ministryPlatformService,
                               IAuthenticationService authenticationService,
                               IConfigurationWrapper configurationWrapper,
                               IParticipantService participantService,
     IApiUserService apiUserService)
     : base(authenticationService, configurationWrapper)
 {
     _ministryPlatformService = ministryPlatformService;
     _participantService = participantService;
     _apiUserService = apiUserService;
 }
        public GroupParticipantService(IDbConnection dbConnection,
                                       IConfigurationWrapper configurationWrapper,
                                       IMinistryPlatformService ministryPlatformService,
                                       IApiUserService apiUserService)

        {
            _dbConnection = dbConnection;
            _configurationWrapper = configurationWrapper;
            _ministryPlatformService = ministryPlatformService;
            _apiUserService = apiUserService;
        }
 public AttributeRepository(IMinistryPlatformService ministryPlatformService,
                            IAuthenticationRepository authenticationService,
                            IConfigurationWrapper configurationWrapper,
                            IApiUserRepository apiUserService,
                            IMinistryPlatformRestRepository ministryPlatformRest)
     : base(authenticationService, configurationWrapper)
 {
     _ministryPlatformService = ministryPlatformService;
     _ministryPlatformRest    = ministryPlatformRest;
     _apiUserService          = apiUserService;
 }
Example #29
0
 public EventRepository(IMinistryPlatformService ministryPlatformService,
                        IAuthenticationRepository authenticationService,
                        IConfigurationWrapper configurationWrapper,
                        IGroupRepository groupService,
                        IMinistryPlatformRestRepository ministryPlatformRestRepository,
                        IEventParticipantRepository eventParticipantRepository)
     : base(authenticationService, configurationWrapper)
 {
     _ministryPlatformService        = ministryPlatformService;
     _ministryPlatformRestRepository = ministryPlatformRestRepository;
     _groupService = groupService;
     _eventParticipantRepository = eventParticipantRepository;
 }
Example #30
0
        public FormSubmissionRepository(IMinistryPlatformService ministryPlatformService, IDbConnection dbConnection, IAuthenticationRepository authenticationService, IConfigurationWrapper configurationWrapper, IMinistryPlatformRestRepository ministryPlatformRest)
            : base(authenticationService, configurationWrapper)
        {
            _ministryPlatformService        = ministryPlatformService;
            _ministryPlatformRestRepository = ministryPlatformRest;
            _dbConnection         = dbConnection;
            _configurationWrapper = configurationWrapper;

            _formResponsePageId     = configurationWrapper.GetConfigIntValue("FormResponsePageId");
            _formAnswerPageId       = configurationWrapper.GetConfigIntValue("FormAnswerPageId");
            _formFieldCustomPage    = configurationWrapper.GetConfigIntValue("AllFormFieldsView");
            _formResponseGoTripView = configurationWrapper.GetConfigIntValue("GoTripFamilySignup");
        }
Example #31
0
 public GroupToolRepository(IMinistryPlatformService ministryPlatformService,
                            IConfigurationWrapper configurationWrapper,
                            IAuthenticationRepository authenticationService,
                            IMinistryPlatformRestRepository mpRestRepository,
                            IApiUserRepository apiUserRepository)
     : base(authenticationService, configurationWrapper)
 {
     _ministryPlatformService           = ministryPlatformService;
     _invitationPageId                  = _configurationWrapper.GetConfigIntValue("InvitationPageID");
     _groupInquiresSubPageId            = _configurationWrapper.GetConfigIntValue("GroupInquiresSubPage");
     _groupInquiriesNotPlacedPageViewId = _configurationWrapper.GetConfigIntValue("GroupInquiriesNotPlacedPageView");
     _mpRestRepository                  = mpRestRepository;
     _apiUserRepository                 = apiUserRepository;
 }
 public OpportunityRepository(IMinistryPlatformService ministryPlatformService,
                              IAuthenticationRepository authenticationService,
                              IConfigurationWrapper configurationWrapper,
                              IParticipantRepository participantService,
                              IApiUserRepository apiUserService,
                              IMinistryPlatformRestRepository ministryPlatformRest
                              )
     : base(authenticationService, configurationWrapper)
 {
     _ministryPlatformService = ministryPlatformService;
     _participantService      = participantService;
     _apiUserService          = apiUserService;
     _ministryPlatformRest    = ministryPlatformRest;
 }
Example #33
0
        public GroupParticipantRepository(IConfigurationWrapper configurationWrapper,
                                          IMinistryPlatformService ministryPlatformService,
                                          IApiUserRepository apiUserService,
                                          IMinistryPlatformRestRepository ministryPlatformRest,
                                          IGroupRepository groupRepository)

        {
            _configurationWrapper    = configurationWrapper;
            _ministryPlatformService = ministryPlatformService;
            _apiUserService          = apiUserService;
            _ministryPlatformRest    = ministryPlatformRest;
            _groupRepository         = groupRepository;
            _groupRoleLeader         = _configurationWrapper.GetConfigIntValue("GroupRoleLeader");
        }
Example #34
0
        public ContactService(IMinistryPlatformService ministryPlatformService, IAuthenticationService authenticationService, IConfigurationWrapper configuration)
            : base(authenticationService, configuration)
        {
            _ministryPlatformService = ministryPlatformService;
            _configurationWrapper = configuration;

            _householdsPageId = configuration.GetConfigIntValue("Households");
            _securityRolesSubPageId = configuration.GetConfigIntValue("SecurityRolesSubPageId");
            _congregationDefaultId = configuration.GetConfigIntValue("Congregation_Default_ID");
            _householdDefaultSourceId = configuration.GetConfigIntValue("Household_Default_Source_ID");
            _householdPositionDefaultId = configuration.GetConfigIntValue("Household_Position_Default_ID");
            _addressesPageId = configuration.GetConfigIntValue("Addresses");
            _contactsPageId = configuration.GetConfigIntValue("Contacts");
            _participantsPageId = configuration.GetConfigIntValue("Participants");
        }
Example #35
0
        public ContactRepository(IMinistryPlatformService ministryPlatformService, IAuthenticationRepository authenticationService, IConfigurationWrapper configuration, IMinistryPlatformRestRepository ministryPlatformRest, IApiUserRepository apiUserRepository)
            : base(authenticationService, configuration)
        {
            _ministryPlatformService = ministryPlatformService;
            _ministryPlatformRest    = ministryPlatformRest;
            _apiUserRepository       = apiUserRepository;

            _householdsPageId           = configuration.GetConfigIntValue("Households");
            _securityRolesSubPageId     = configuration.GetConfigIntValue("SecurityRolesSubPageId");
            _congregationDefaultId      = configuration.GetConfigIntValue("Congregation_Default_ID");
            _householdDefaultSourceId   = configuration.GetConfigIntValue("Household_Default_Source_ID");
            _householdPositionDefaultId = configuration.GetConfigIntValue("Household_Position_Default_ID");
            _addressesPageId            = configuration.GetConfigIntValue("Addresses");
            _contactsPageId             = configuration.GetConfigIntValue("Contacts");
            _participantsPageId         = configuration.GetConfigIntValue("Participants");
        }
Example #36
0
 public ChildcareRequestRepository(IConfigurationWrapper configurationWrapper, IMinistryPlatformService ministryPlatformService, IApiUserRepository apiUserService, IEventRepository eventService, IGroupRepository groupService, IMinistryPlatformRestRepository ministryPlatformRest)
 {
     _ministryPlatformRest           = ministryPlatformRest;
     _ministryPlatformService        = ministryPlatformService;
     _apiUserService                 = apiUserService;
     _eventService                   = eventService;
     _childcareRequestPageId         = configurationWrapper.GetConfigIntValue("ChildcareRequestPageId");
     _childcareRequestDatesPageId    = configurationWrapper.GetConfigIntValue("ChildcareRequestDatesPageId");
     _childcareEmailPageViewId       = configurationWrapper.GetConfigIntValue("ChildcareEmailPageView");
     _childcareRequestStatusPending  = configurationWrapper.GetConfigIntValue("ChildcareRequestPending");
     _childcareRequestStatusApproved = configurationWrapper.GetConfigIntValue("ChildcareRequestApproved");
     _childcareEventType             = configurationWrapper.GetConfigIntValue("ChildcareEventType");
     _groupService                   = groupService;
     _childcareRequestDatesId        = configurationWrapper.GetConfigIntValue("ChildcareRequestDates");
     _myChildcareRequestDatesId      = configurationWrapper.GetConfigIntValue("MyChildcareRequestDates");
 }
Example #37
0
 public AccountService(IConfigurationWrapper configurationWrapper,
                       ICommunicationRepository communicationService,
                       IAuthenticationRepository authenticationService,
                       ISubscriptionsService subscriptionService,
                       IMinistryPlatformService ministryPlatformService,
                       ILookupRepository lookupService,
                       IApiUserRepository apiUserService,
                       IParticipantRepository participantService)
 {
     _configurationWrapper    = configurationWrapper;
     _communicationService    = communicationService;
     _authenticationService   = authenticationService;
     _subscriptionsService    = subscriptionService;
     _ministryPlatformService = ministryPlatformService;
     _lookupService           = lookupService;
     _apiUserService          = apiUserService;
     _participantService      = participantService;
 }
Example #38
0
 public GroupRepository(IMinistryPlatformService ministryPlatformService,
                        IMinistryPlatformRestRepository ministryPlatformRestRepository,
                        IConfigurationWrapper configurationWrapper,
                        IAuthenticationRepository authenticationService,
                        ICommunicationRepository communicationService,
                        IContactRepository contactService,
                        IContentBlockService contentBlockService,
                        IAddressRepository addressRepository,
                        IObjectAttributeRepository objectAttributeRepository)
     : base(authenticationService, configurationWrapper)
 {
     this.ministryPlatformService    = ministryPlatformService;
     _ministryPlatformRestRepository = ministryPlatformRestRepository;
     _configurationWrapper           = configurationWrapper;
     _communicationService           = communicationService;
     _contactService            = contactService;
     _contentBlockService       = contentBlockService;
     _addressRepository         = addressRepository;
     _objectAttributeRepository = objectAttributeRepository;
 }
Example #39
0
 public DonationService(IMinistryPlatformService ministryPlatformService, IDonorService donorService, ICommunicationService communicationService, IPledgeService pledgeService, IConfigurationWrapper configuration, IAuthenticationService authenticationService, IConfigurationWrapper configurationWrapper)
     : base(authenticationService, configurationWrapper)
 {
     _ministryPlatformService = ministryPlatformService;
     _donorService = donorService;
     _communicationService = communicationService;
     _pledgeService = pledgeService;
     _donationsPageId = configuration.GetConfigIntValue("Donations");
     _donationDistributionPageId = configuration.GetConfigIntValue("Distributions");
     _donorMessageTemplateId = configuration.GetConfigIntValue("DonorMessageTemplateId");
     _distributionPageId = configuration.GetConfigIntValue("Distributions");
     _batchesPageId = configuration.GetConfigIntValue("Batches");
     _depositsPageId = configuration.GetConfigIntValue("Deposits");
     _paymentProcessorErrorsPageId = configuration.GetConfigIntValue("PaymentProcessorEventErrors");
     _tripDistributionsPageView = configuration.GetConfigIntValue("TripDistributionsView");
     _gpExportPageView = configuration.GetConfigIntValue("GPExportView");
     _processingProgramId = configuration.GetConfigIntValue("ProcessingProgramId");
     _scholarshipPaymentTypeId = configuration.GetConfigIntValue("ScholarshipPaymentTypeId");
     _tripDonationMessageTemplateId = configuration.GetConfigIntValue("TripDonationMessageTemplateId");
 }
Example #40
0
 public EventController(IMinistryPlatformService ministryPlatformService, IApiUserRepository apiUserService, IEventService eventService, IUserImpersonationService userImpersonationService) : base(userImpersonationService)
 {
     this._ministryPlatformService = ministryPlatformService;
     _eventService   = eventService;
     _apiUserService = apiUserService;
 }
 public ParticipantService(IMinistryPlatformService ministryPlatformService, IAuthenticationService authenticationService , IConfigurationWrapper configurationWrapper)
     : base(authenticationService, configurationWrapper)
 {
     this._ministryPlatformService = ministryPlatformService;
 }
 public AuthenticationServiceImpl(PlatformServiceClient platformService, IMinistryPlatformService ministryPlatformService)
 {
     this.platformService = platformService;
     this.ministryPlatformService = ministryPlatformService;
 }
 public AttributeService(IMinistryPlatformService ministryPlatformService, IAuthenticationService authenticationService, IConfigurationWrapper configurationWrapper)
     : base(authenticationService, configurationWrapper)
 {
     _ministryPlatformService = ministryPlatformService;
 }
 public FormBuilderController(Services.Interfaces.IFormBuilderService formBuilderService,
                              IMinistryPlatformService ministryPlatformService, IUserImpersonationService userImpersonationService) : base(userImpersonationService)
 {
     _formBuilderService      = formBuilderService;
     _ministryPlatformService = ministryPlatformService;
 }
Example #45
0
 public LookupService(IAuthenticationService authenticationService, IConfigurationWrapper configurationWrapper, IMinistryPlatformService ministryPlatformServiceImpl)
     : base(authenticationService, configurationWrapper)
 {
     _ministryPlatformServiceImpl = ministryPlatformServiceImpl;
 }
 public ParticipantRepository(IMinistryPlatformService ministryPlatformService, IAuthenticationRepository authenticationService, IConfigurationWrapper configurationWrapper)
     : base(authenticationService, configurationWrapper)
 {
     this._ministryPlatformService = ministryPlatformService;
 }
Example #47
0
 public EventController(IMinistryPlatformService ministryPlatformService, IApiUserService apiUserService, IEventService eventService)
 {
     this._ministryPlatformService = ministryPlatformService;
     _eventService = eventService;
     _apiUserService = apiUserService;
 }
 public BulkEmailRepository(IAuthenticationService authenticationService, IConfigurationWrapper configurationWrapper, IMinistryPlatformService ministryPlatformService) :
     base(authenticationService, configurationWrapper)
 {
     _ministryPlatformService = ministryPlatformService;
 }
 public ContactRelationshipService(IMinistryPlatformService ministryPlatformService, IAuthenticationService authenticationService, IConfigurationWrapper configurationWrapper)
     : base(authenticationService, configurationWrapper)
 {
     this._ministryPlatformService = ministryPlatformService;
 }
Example #50
0
 public UserService(IAuthenticationService authenticationService, IConfigurationWrapper configurationWrapper, IMinistryPlatformService ministryPlatformService) : base(authenticationService, configurationWrapper)
 {
     _ministryPlatformService = ministryPlatformService;
     _usersApiLookupPageViewId = _configurationWrapper.GetConfigIntValue("UsersApiLookupPageView");
 }
 public SelectionService(IAuthenticationService authenticationService, IConfigurationWrapper configurationWrapper, IMinistryPlatformService ministryPlatformService) : base(authenticationService, configurationWrapper)
 {
     _ministryPlatformService = ministryPlatformService;
 }
Example #52
0
 public CampaignService(IMinistryPlatformService ministryPlatformService, IAuthenticationService authenticationService, IConfigurationWrapper configurationWrapper)
     : base(authenticationService, configurationWrapper)
 {
     _ministryPlatformService = ministryPlatformService;
     _configurationWrapper = configurationWrapper;
 }
 public FormSubmissionService(IMinistryPlatformService ministryPlatformService, IDbConnection dbConnection, IAuthenticationService authenticationService, IConfigurationWrapper configurationWrapper)
     : base(authenticationService,configurationWrapper)
 {
     _ministryPlatformService = ministryPlatformService;
     _dbConnection = dbConnection;
 }
Example #54
0
 public BulkEmailRepository(IAuthenticationRepository authenticationService, IConfigurationWrapper configurationWrapper, IMinistryPlatformService ministryPlatformService) :
     base(authenticationService, configurationWrapper)
 {
     _ministryPlatformService = ministryPlatformService;
 }