public CongregationPortalController(ICongregationRepository congregation,
                                     IMapper mapper,
                                     MyManager userManager)
 {
     _congregation = congregation;
     _mapper       = mapper;
     _userManager  = userManager;
 }
Beispiel #2
0
        public void Setup()
        {
            Factories.MpCongregation();

            _ministryPlatformService = new Mock <IMinistryPlatformService>();
            _ministryPlatformRest    = new Mock <IMinistryPlatformRestRepository>();
            _authRepository          = new Mock <IAuthenticationRepository>();
            _configWrapper           = new Mock <IConfigurationWrapper>();
            _fixture = new CongregationRepository(_ministryPlatformService.Object, _ministryPlatformRest.Object, _authRepository.Object, _configWrapper.Object);
        }
Beispiel #3
0
 public CampService(
     ICampRepository campService,
     IFormSubmissionRepository formSubmissionRepository,
     IConfigurationWrapper configurationWrapper,
     IParticipantRepository partcipantRepository,
     IEventRepository eventRepository,
     IApiUserRepository apiUserRepository,
     IContactRepository contactRepository,
     ICongregationRepository congregationRepository,
     IGroupRepository groupRepository,
     IEventParticipantRepository eventParticipantRepository,
     IMedicalInformationRepository medicalInformationRepository,
     IProductRepository productRepository,
     IInvoiceRepository invoiceRepository,
     ICommunicationRepository communicationRepository,
     IPaymentRepository paymentRepository,
     IObjectAttributeService objectAttributeService,
     ICampRules campRules,
     IPaymentService paymentService)
 {
     _campService = campService;
     _formSubmissionRepository     = formSubmissionRepository;
     _configurationWrapper         = configurationWrapper;
     _participantRepository        = partcipantRepository;
     _eventRepository              = eventRepository;
     _apiUserRepository            = apiUserRepository;
     _contactRepository            = contactRepository;
     _congregationRepository       = congregationRepository;
     _groupRepository              = groupRepository;
     _eventParticipantRepository   = eventParticipantRepository;
     _medicalInformationRepository = medicalInformationRepository;
     _productRepository            = productRepository;
     _invoiceRepository            = invoiceRepository;
     _paymentRepository            = paymentRepository;
     _communicationRepository      = communicationRepository;
     _objectAttributeService       = objectAttributeService;
     _campRules      = campRules;
     _paymentService = paymentService;
 }
Beispiel #4
0
 public CongregationController(ICongregationRepository congregation,
                               IMapper Mapper)
 {
     _congregation = congregation;
     _mapper       = Mapper;
 }