예제 #1
0
 public DonationService(MPServices.IDonationService mpDonationService, MPServices.IDonorService mpDonorService, IPaymentService paymentService, MPServices.IContactService contactService, IConfigurationWrapper config)
 {
     _mpDonationService = mpDonationService;
     _mpDonorService = mpDonorService;
     _paymentService = paymentService;
     _contactService = contactService;
     _statementTypeFamily = config.GetConfigIntValue("DonorStatementTypeFamily");
 }
예제 #2
0
 public PersonService(MPServices.IContactService contactService, 
     IContactAttributeService contactAttributeService, 
     MPServices.IApiUserService apiUserService,
     MPServices.IParticipantService participantService)
 {
     _contactService = contactService;
     _contactAttributeService = contactAttributeService;
     _apiUserService = apiUserService;
     _participantService = participantService;
 }