public FormSubmissionRepository(IMinistryPlatformService ministryPlatformService, IDbConnection dbConnection, IAuthenticationRepository authenticationService, IConfigurationWrapper configurationWrapper, IMinistryPlatformRestRepository ministryPlatformRest) : base(authenticationService, configurationWrapper) { _ministryPlatformService = ministryPlatformService; _ministryPlatformRestRepository = ministryPlatformRest; _dbConnection = dbConnection; }
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 GroupConnectorRepository(IMinistryPlatformService ministryPlatformService, IMinistryPlatformRestRepository ministryPlatformRestRepository, IAuthenticationRepository authenticationService, IConfigurationWrapper configuration) : base(authenticationService, configuration) { _ministryPlatformService = ministryPlatformService; _ministryPlatformRestRepository = ministryPlatformRestRepository; _apiToken = ApiLogin(); }
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; }
public CampaignRepository(IMinistryPlatformService ministryPlatformService, IAuthenticationRepository authenticationService, IConfigurationWrapper configurationWrapper, IMinistryPlatformRestRepository ministryPlatformRest, IApiUserRepository apiUserRepository) : base(authenticationService, configurationWrapper) { _ministryPlatformService = ministryPlatformService; _ministryPlatformRest = ministryPlatformRest; _apiUserRepository = apiUserRepository; }
public InvoiceRepository(IMinistryPlatformRestRepository ministryPlatformRest, IApiUserRepository apiUserRepository, IProductRepository productRepository, IConfigurationWrapper configurationWrapper) { _ministryPlatformRest = ministryPlatformRest; _apiUserRepository = apiUserRepository; _productRepository = productRepository; _configurationWrapper = configurationWrapper; _invoiceCancelled = _configurationWrapper.GetConfigIntValue("InvoiceCancelled"); }
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"); }
public AttributeService(MPInterfaces.IAttributeRepository attributeRepository, IMinistryPlatformRestRepository restRepository, IApiUserRepository apiUserRepository) { _attributeRepository = attributeRepository; _ministryPlatformRestRepository = restRepository; _apiUserRepository = apiUserRepository; }
public ProductRepository(IConfigurationWrapper configurationWrapper, IMinistryPlatformRestRepository ministryPlatformRest, IApiUserRepository apiUserRepository) { _configurationWrapper = configurationWrapper; _ministryPlatformRest = ministryPlatformRest; _apiUserRepository = apiUserRepository; }
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"); }
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 ObjectAttributeRepository(IAuthenticationRepository authenticationService, IConfigurationWrapper configurationWrapper, IMinistryPlatformService ministryPlatformService, IMinistryPlatformRestRepository ministryPlatformRest) : base(authenticationService, configurationWrapper) { _ministryPlatformService = ministryPlatformService; _ministryPlatformRest = ministryPlatformRest; }
public RoomRepository(IMinistryPlatformService ministryPlatformService, IMinistryPlatformRestRepository ministryPlatformRestRepository, IAuthenticationRepository authenticationService, IConfigurationWrapper configuration) : base(authenticationService, configuration) { _ministryPlatformService = ministryPlatformService; _ministryPlatformRestRepository = ministryPlatformRestRepository; }
public InvitationRepository(IMinistryPlatformService ministryPlatformService, IMinistryPlatformRestRepository ministryPlatformRestRepository, IConfigurationWrapper configurationWrapper, IAuthenticationRepository authenticationService) : base(authenticationService, configurationWrapper) { _ministryPlatformService = ministryPlatformService; _ministryPlatformRestRepository = ministryPlatformRestRepository; _invitationPageId = _configurationWrapper.GetConfigIntValue("InvitationPageID"); }
public AttributeRepository(IMinistryPlatformService ministryPlatformService, IAuthenticationRepository authenticationService, IConfigurationWrapper configurationWrapper, IApiUserRepository apiUserService, IMinistryPlatformRestRepository ministryPlatformRest) : base(authenticationService, configurationWrapper) { _ministryPlatformService = ministryPlatformService; _ministryPlatformRest = ministryPlatformRest; _apiUserService = apiUserService; }
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; }
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"); }
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 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"); }
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; }
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"); }
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"); }
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; }
public FinderRepository(IConfigurationWrapper configuration, IMinistryPlatformRestRepository ministryPlatformRest, IApiUserRepository apiUserRepository, IAuthenticationRepository authenticationService) : base(authenticationService, configuration) { _ministryPlatformRest = ministryPlatformRest; _apiUserRepository = apiUserRepository; _groupColumns = new List <string> { "Groups.Group_ID", "Groups.Group_Name", "Groups.Description", "Groups.Start_Date", "Groups.End_Date", "Offsite_Meeting_Address_Table.*", "Groups.Available_Online", "Groups.Primary_Contact", "Groups.Congregation_ID", "Groups.Ministry_ID", "Groups.Kids_Welcome" }; }
public DomainLockedApiKeyFilter(IMinistryPlatformRestRepository ministryPlatformRestRepository, ICorsEngine corsEngine, IApiUserRepository apiUserRepository) { _apiKeys = ministryPlatformRestRepository.UsingAuthenticationToken(apiUserRepository.GetToken()).Search <DomainLockedApiKey>(); _corsEngine = corsEngine; }
public TripRepository(IMinistryPlatformRestRepository ministryPlatformRestRepository, IConfigurationWrapper configurationWrapper) { _ministryPlatformRestRepository = ministryPlatformRestRepository; _configurationWrapper = configurationWrapper; }
public ProductRulesetsRepository(IApiUserRepository apiUserRepository, IMinistryPlatformRestRepository ministryPlatformRestRepository, IRuleset rulesetRepository) { _apiUserRepository = apiUserRepository; _ministryPlatformRestRepository = ministryPlatformRestRepository; _rulesetRepository = rulesetRepository; }
public RulesetRepository(IApiUserRepository apiUserRepository, IMinistryPlatformRestRepository ministryPlatformRestRepository) { _apiUserRepository = apiUserRepository; _ministryPlatformRestRepository = ministryPlatformRestRepository; }
public ChildcareRepository(IConfigurationWrapper configurationWrapper, IMinistryPlatformRestRepository ministryPlatformRest) { _configurationWrapper = configurationWrapper; _ministryPlatformRest = ministryPlatformRest; }
public PaymentTypeRepository(IMinistryPlatformRestRepository ministryPlatformRest, IApiUserRepository apiUserRepository) { _ministryPlatformRest = ministryPlatformRest; _apiUserRepository = apiUserRepository; }