Пример #1
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;
 }
Пример #2
0
 public DonorController(IDonorService donorService,
                        IPaymentProcessorService stripePaymentService,
                        IDonationService donationService,
                        MPInterfaces.IDonorRepository mpDonorService,
                        MPInterfaces.IAuthenticationRepository authenticationService,
                        IUserImpersonationService impersonationService) : base(impersonationService)
 {
     _donorService          = donorService;
     _stripePaymentService  = stripePaymentService;
     _donationService       = donationService;
     _authenticationService = authenticationService;
     _mpDonorService        = mpDonorService;
     _impersonationService  = impersonationService;
 }
 public DonationController(MPInterfaces.IDonorRepository mpDonorService,
                           IPaymentProcessorService stripeService,
                           MPInterfaces.IAuthenticationRepository authenticationService,
                           IDonorService gatewayDonorService,
                           IDonationService gatewayDonationService,
                           MPInterfaces.IDonationRepository mpDonationService,
                           MPInterfaces.IPledgeRepository mpPledgeService,
                           IUserImpersonationService impersonationService,
                           IPaymentService paymentService,
                           MPInterfaces.IInvoiceRepository invoiceRepository) : base(impersonationService)
 {
     _mpDonorService         = mpDonorService;
     _stripeService          = stripeService;
     _authenticationService  = authenticationService;
     _gatewayDonorService    = gatewayDonorService;
     _gatewayDonationService = gatewayDonationService;
     _impersonationService   = impersonationService;
     _invoiceRepository      = invoiceRepository;
     _mpDonationService      = mpDonationService;
     _mpPledgeService        = mpPledgeService;
     _paymentService         = paymentService;
 }
Пример #4
0
 public ImageController(MPInterfaces.IMinistryPlatformService mpService, MPInterfaces.IAuthenticationRepository authenticationService, MPInterfaces.IApiUserRepository apiUserService, IUserImpersonationService userImpersonationService) : base(userImpersonationService)
 {
     _authenticationService = authenticationService;
     _apiUserService        = apiUserService;
     _mpService             = mpService;
 }
Пример #5
0
 public SubscriptionsController(ISubscriptionsService subscriptionService, MPInterfaces.IAuthenticationRepository authenticationService, IUserImpersonationService userImpersonationService) : base(userImpersonationService)
 {
     _subscriptionService   = subscriptionService;
     _authenticationService = authenticationService;
 }