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 DonorDeletionService(IDonorValidationService validator, IDonorRepository repo, IAuctionTransactionFactory factory) { _validator = validator; _repo = repo; _factory = factory; }
public DonationAppService(IDonationRepository donationRepository, IDonorRepository donorRepository, IBloodCenterRepository bloodcenterRepository) { _donationRepository = donationRepository ?? throw new System.ArgumentNullException(nameof(donationRepository)); _donorRepository = donorRepository ?? throw new System.ArgumentNullException(nameof(donorRepository)); _bloodcenterRepository = bloodcenterRepository ?? throw new System.ArgumentNullException(nameof(bloodcenterRepository)); }
public DonorService(IDonorRepository donorRepository, IBloodDonationRepository bloodDonationRepository, IBloodTypeRepository bloodTypeRepository, IMapper mapper, IEncrypter encrypter) { this.donorRepository = donorRepository; this.bloodDonationRepository = bloodDonationRepository; this.bloodTypeRepository = bloodTypeRepository; this.mapper = mapper; this.encrypter = encrypter; }
public BloodDonationService(IBloodDonationRepository bloodDonationRepository, IDonorRepository donorRepository, IBloodTypeRepository bloodTypeRepository, IPersonnelRepository personnelRepository, IMapper mapper) { this.bloodDonationRepository = bloodDonationRepository; this.donorRepository = donorRepository; this.bloodTypeRepository = bloodTypeRepository; this.personnelRepository = personnelRepository; this.mapper = mapper; }
public DonorEventAssociationService(IAuctionTransactionFactory factory, IEventRepository eventRepo, IDonorRepository repo, IItemRepository itemRepo) { _factory = factory; _eventRepo = eventRepo; _repo = repo; _itemRepo = itemRepo; }
public DonationManagementController(IDonorRepository donorRepository, IDonationRepository donationRepository, IProjectRepository projectRepository) { Guard.ArgumentNotNull(donationRepository, "donationRepository"); Guard.ArgumentNotNull(donorRepository, "donorRepository"); Guard.ArgumentNotNull(projectRepository, "projectRepository"); _donorRepository = donorRepository; _donationRepository = donationRepository; _projectRepository = projectRepository; }
public DonationManagementController(IDonorRepository donorRepository, IDonationRepository donationRepository, IProjectRepository projectRepository) { Guard.ArgumentNotNull(donationRepository, "donationRepository"); Guard.ArgumentNotNull(donorRepository, "donorRepository"); Guard.ArgumentNotNull(projectRepository, "projectRepository"); _donorRepository = donorRepository; _donationRepository = donationRepository; _projectRepository = projectRepository; }
public EventPageModel(IMapper mapper, IEventRepository eventRepository, IDonorRepository donorRepository) { _mapper = mapper; _eventRepository = eventRepository; _donorRepository = donorRepository; MessagingCenter.Subscribe <RefreshEventsMessage>(this, RefreshEventsMessage.Message, message => { RefreshDataCommand.Execute(null); }); }
public HomeController(IMemberRepository memberRepository, IDonorRepository donorRepository, ICaseRepository caseRepository, IStoryRepository storyRepository, WelcomeMail welcomeMail) { _memberRepository = memberRepository; _donorRepository = donorRepository; _caseRepository = caseRepository; _storyRepository = storyRepository; _welcomeMail = welcomeMail; }
public DonationController(IDonationRepository donationService, IFundraiserRepository fundraiserService, IDonorRepository donorService, IMapper mapper, IHubContext <ZonorHub> signalHub) { this.donationService = donationService ?? throw new ArgumentNullException(nameof(donationService)); this.fundraiserService = fundraiserService ?? throw new ArgumentNullException(nameof(fundraiserService)); this.donorService = donorService ?? throw new ArgumentNullException(nameof(donorService)); this.mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); this.signalHub = signalHub ?? throw new ArgumentNullException(nameof(signalHub)); }
public MockDonationRepository(FundContext dbContext, IFundraiserRepository fundraiserRepository, IDonorRepository donorRepository) { this.dbContext = dbContext ?? throw new ArgumentNullException(nameof(dbContext)); this.fundraiserRepository = fundraiserRepository ?? throw new ArgumentNullException(nameof(fundraiserRepository)); this.donorRepository = donorRepository ?? throw new ArgumentNullException(nameof(donorRepository)); Donations = new List <Donation> { new Donation { FundraiserId = fundraiserRepository.GetFundraisersAsync().Result.First().Id, DonorId = donorRepository.GetDonorsAsync().Result.First().Id, Amount = 10, DonationDate = DateTimeOffset.Now }, new Donation { FundraiserId = fundraiserRepository.GetFundraisersAsync().Result.First().Id, DonorId = donorRepository.GetDonorsAsync().Result.Last().Id, Amount = 40, DonationDate = DateTimeOffset.Now }, }; }
public DONORsController(IDonorRepository drRepo, IDonationRepository dnRepo, INoteRepository ntRepo) { this.drRepo = drRepo; this.dnRepo = dnRepo; this.ntRepo = ntRepo; }
public DonorAppService(IDonorRepository donorRepository) { _donorRepository = donorRepository ?? throw new System.ArgumentNullException(nameof(donorRepository)); }
public DonorProfileService(IDonorRepository donorRepository) { this.donorRepository = donorRepository; }
public DonorEditPopupPageModel(IMapper mapper, IDonorRepository donorRepository) { _mapper = mapper; _donorRepository = donorRepository; }
public DonorsController(IDonorRepository donorRepository) { _donorRepository = donorRepository; }
public DonorManager(IUnitOfWork uow) { this.DonorRepo = uow.DonorRepository(); }
public DonorsController(IDonorRepository repository) { _repository = repository; }
public DonorService(IDonorRepository repository) : base(repository) { }
public DonorService(IDonorRepository donorRepository) { _donorRepository = donorRepository; }
public DonorController(IDonorRepository donorService, IMapper mapper, ILogger <DonorController> logger) { this.donorService = donorService ?? throw new ArgumentNullException(nameof(donorService)); this.mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); this.logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public DonorsController(IMapper mapper, IDonorRepository donorRepository) { _mapper = mapper; _donorRepository = donorRepository; }
public DonationService(ICaseRepository caseRepository, IDonorRepository donorRepository, IDonationRepository donationRepository) { this.caseRepository = caseRepository; this.donorRepository = donorRepository; this.donationRepository = donationRepository; }
public DONATIONsController(IDonorRepository drRepo, IDonationRepository dnRepo) { this.drRepo = drRepo; this.dnRepo = dnRepo; }
public ChartController(IDonorRepository drRepo, IDonationRepository dnRepo) { this.drRepo = drRepo; this.dnRepo = dnRepo; }
public HomeController(ILogger<HomeController> logger, IMapper mapper, IFundraiserRepository fundraiserService, IDonorRepository donorService) : base(logger, mapper) { this.donorService = donorService ?? throw new ArgumentNullException(nameof(donorService)); this.fundraiserService = fundraiserService ?? throw new ArgumentNullException(nameof(fundraiserService)); }
public CollectionPageModel(IMapper mapper, IDonorRepository donorRepository) { _donorRepository = donorRepository; _mapper = mapper; }