public ParticipantController(IRetreatRepository retreatRepository, IParticipantRepository participantRepository, IBedRepository bedRepository, IUrlMapper urlMapper)
 {
     _retreatRepository     = retreatRepository;
     _participantRepository = participantRepository;
     _bedRepository         = bedRepository;
     _urlMapper             = urlMapper;
 }
Example #2
0
 public HomeController(ILogger <HomeController> logger, IContestRepository contestRepository, IParticipantRepository participantRepository, IFishRepository fishRepository)
 {
     _logger                = logger;
     _contestRepository     = contestRepository;
     _participantRepository = participantRepository;
     _fishRepository        = fishRepository;
 }
 public ParticipantController(IRetreatRepository retreatRepository, IParticipantRepository participantRepository, IBedRepository bedRepository, IUrlMapper urlMapper)
 {
     _retreatRepository = retreatRepository;
     _participantRepository = participantRepository;
     _bedRepository = bedRepository;
     _urlMapper = urlMapper;
 }
 public AccessMappingController(IAccessMappingRepository accessMappingRepository, IParticipantRepository participantRepository, IServiceRepository serviceRepository, ILogger logger)
 {
     _accessMappingRepository = accessMappingRepository;
     _participantRepository   = participantRepository;
     _serviceRepository       = serviceRepository;
     _logger = logger;
 }
 public ParticipantController(IRetreatRepository retreatRepository, IParticipantRepository participantRepository, IControllerCommandInvoker commandInvoker, CurrentRegistrationBuilder currentRegistrationBuilder)
 {
     _retreatRepository = retreatRepository;
     _participantRepository = participantRepository;
     _commandInvoker = commandInvoker;
     _currentRegistrationBuilder = currentRegistrationBuilder;
 }
Example #6
0
        public ServeService(IContactRepository contactService,
                            IContactRelationshipRepository contactRelationshipService,
                            IOpportunityRepository opportunityService,
                            MinistryPlatform.Translation.Repositories.Interfaces.IEventRepository eventService,
                            IParticipantRepository participantService,
                            IGroupParticipantRepository groupParticipantService,
                            IGroupRepository groupService,
                            ICommunicationRepository communicationService,
                            IAuthenticationRepository authenticationService,
                            IConfigurationWrapper configurationWrapper,
                            IApiUserRepository apiUserService,
                            IResponseRepository responseService)
        {
            _contactService             = contactService;
            _contactRelationshipService = contactRelationshipService;
            _opportunityService         = opportunityService;
            _eventService            = eventService;
            _participantService      = participantService;
            _groupParticipantService = groupParticipantService;
            _groupService            = groupService;
            _communicationService    = communicationService;
            _authenticationService   = authenticationService;
            _configurationWrapper    = configurationWrapper;
            _apiUserService          = apiUserService;
            _responseService         = responseService;
            _serveGroupType          = _configurationWrapper.GetConfigIntValue("ServeGroupType");

            _rsvpYes = _configurationWrapper.GetConfigIntValue("RSVPYesId");
        }
Example #7
0
        public InvitationService(
            IInvitationRepository invitationRepository,
            ICommunicationRepository communicationService,
            IConfigurationWrapper configuration,
            IGroupRepository groupRepository,
            IParticipantRepository participantRepository,
            IContactRepository contactRepository)
        {
            _invitationRepository  = invitationRepository;
            _communicationService  = communicationService;
            _groupRepository       = groupRepository;
            _participantRepository = participantRepository;
            _contactRepository     = contactRepository;

            _groupInvitationType                = configuration.GetConfigIntValue("GroupInvitationType");
            _groupInvitationEmailTemplate       = configuration.GetConfigIntValue("GroupInvitationEmailTemplate");
            _groupInvitationEmailTemplateCustom = configuration.GetConfigIntValue("GroupInvitationEmailTemplateCustom");
            _tripInvitationType          = configuration.GetConfigIntValue("TripInvitationType");
            _tripInvitationEmailTemplate = configuration.GetConfigIntValue("PrivateInviteTemplate");
            _anywhereGatheringInvitationEmailTemplate = configuration.GetConfigIntValue("AnywhereGatheringInvitationEmailTemplate");
            _anywhereGatheringInvitationTypeId        = configuration.GetConfigIntValue("AnywhereGatheringInvitationType");


            _defaultInvitationEmailTemplate = configuration.GetConfigIntValue("DefaultInvitationEmailTemplate");

            _domainId = configuration.GetConfigIntValue("DomainId");

            _groupRoleLeader = configuration.GetConfigIntValue("GroupRoleLeader");
        }
Example #8
0
        public ChildcareService(IEventParticipantRepository eventParticipantService,
                                ICommunicationRepository communicationService,
                                IConfigurationWrapper configurationWrapper,
                                IContactRepository contactService,
                                IEventRepository eventService,
                                IParticipantRepository participantService,
                                IServeService serveService,
                                IDateTime dateTimeWrapper,
                                IApiUserRepository apiUserService,
                                IEventService crdsEventService,
                                IChildcareRequestRepository childcareRequestService,
                                IGroupService groupService,
                                IChildcareRepository childcareRepository)
        {
            _childcareRequestService = childcareRequestService;
            _eventParticipantService = eventParticipantService;
            _communicationService    = communicationService;
            _configurationWrapper    = configurationWrapper;
            _contactService          = contactService;
            _crdsEventService        = crdsEventService;
            _eventService            = eventService;
            _participantService      = participantService;
            _serveService            = serveService;
            _dateTimeWrapper         = dateTimeWrapper;
            _apiUserService          = apiUserService;
            _groupService            = groupService;
            _childcareRepository     = childcareRepository;

            _childcareGroupType = _configurationWrapper.GetConfigIntValue("ChildcareGroupType");
        }
 /// <inheritdoc />
 public CallManagementService(
     UnitOfWork unitOfWork,
     CallManagementServiceClient callManagementServiceClient,
     ContactManagementServiceClient contactManagementClient,
     UserManagementServiceClient userManagementServiceClient,
     IParticipantRepository participantRepository,
     InboxDistributionServiceClient inboxDistributionServiceClient,
     MediaRecordingServiceClient mediaRecordingServiceClient,
     ICaseTypeRepository caseTypeRepository,
     ICaseFolderRepository caseFolderRepository,
     ISmsRepository smsRepository,
     PhoneHubMessageService phoneHubMessageService,
     IMapper mapper,
     ILogger logger)
 {
     _callManagementServiceClient = callManagementServiceClient;
     _contactManagementClient     = contactManagementClient;
     _userManagementServiceClient = userManagementServiceClient;
     _participantRepository       = participantRepository;
     _smsRepository = smsRepository;
     _inboxDistributionServiceClient = inboxDistributionServiceClient;
     _mediaRecordingServiceClient    = mediaRecordingServiceClient;
     _caseTypeRepository             = caseTypeRepository;
     _caseFolderRepository           = caseFolderRepository;
     _phoneHubMessageService         = phoneHubMessageService;
     _unitOfWork = unitOfWork;
     _logger     = logger;
     _mapper     = mapper;
 }
Example #10
0
 public TransactionsController(ITeamRepository teamRepository, IParticipantRepository playerRepository,
                               ITransactionHistoryRepository transactionRepository)
 {
     TeamRepository        = teamRepository;
     ParticipantRepository = playerRepository;
     TransactionRepository = transactionRepository;
 }
Example #11
0
        public EventService(TranslationEventService eventService,
                            IGroupRepository groupService,
                            ICommunicationRepository communicationService,
                            IContactRepository contactService,
                            IContentBlockService contentBlockService,
                            IConfigurationWrapper configurationWrapper,
                            IApiUserRepository apiUserService,
                            IContactRelationshipRepository contactRelationshipService,
                            IGroupParticipantRepository groupParticipantService,
                            IParticipantRepository participantService,
                            IRoomRepository roomService,
                            IEquipmentRepository equipmentService,
                            IEventParticipantRepository eventParticipantService)
        {
            _eventService               = eventService;
            _groupService               = groupService;
            _communicationService       = communicationService;
            _contactService             = contactService;
            _contentBlockService        = contentBlockService;
            _configurationWrapper       = configurationWrapper;
            _apiUserService             = apiUserService;
            _contactRelationshipService = contactRelationshipService;
            _groupParticipantService    = groupParticipantService;
            _participantService         = participantService;
            _roomService             = roomService;
            _equipmentService        = equipmentService;
            _eventParticipantService = eventParticipantService;

            childcareEventTypeID = configurationWrapper.GetConfigIntValue("ChildcareEventType");
            childcareGroupTypeID = configurationWrapper.GetConfigIntValue("ChildcareGroupType");
        }
 public CreateParticipantValidationUseCase(
     ICreateParticipantUseCase useCase,
     IParticipantRepository participantRepository)
 {
     _useCase = useCase;
     _participantRepository = participantRepository;
 }
Example #13
0
 public ChangeParticipationInteractor(
     [NotNull] IParticipantRepository participantRepository,
     [NotNull] ICurrentUser currentUser)
 {
     this.participantRepository = participantRepository ?? throw new ArgumentNullException(nameof(participantRepository));
     this.currentUser           = currentUser ?? throw new ArgumentNullException(nameof(currentUser));
 }
 public LMSSupervisor(
     IAdministrationRepository adminRepo,
     IAdministrationRoleRepository adminRoleRepo,
     IAnswerRepository answerRepo,
     IBlockRepository blockRepo,
     IBlockTypeRepository blockTypeRepo,
     ICourseRepository courseRepo,
     IDirectionRepository directionRepo,
     IGroupRepository groupRepo,
     IPageRepository pageRepo,
     IParticipantRepository participantRepo,
     IParticipantRoleRepository participantRoleRepo,
     IQuestionRepository questionRepo,
     IUserRepository userRepo)
 {
     _adminRepo           = adminRepo;
     _adminRoleRepo       = adminRoleRepo;
     _answerRepo          = answerRepo;
     _blockRepo           = blockRepo;
     _blockTypeRepo       = blockTypeRepo;
     _courseRepo          = courseRepo;
     _directionRepo       = directionRepo;
     _groupRepo           = groupRepo;
     _pageRepo            = pageRepo;
     _participantRepo     = participantRepo;
     _participantRoleRepo = participantRoleRepo;
     _questionRepo        = questionRepo;
     _userRepo            = userRepo;
 }
Example #15
0
 public CommunicationHub(IParticipantRepository participantRepository, IRoomRepository roomRepository, IInactivityGuard inactivityGuard, ILogger <CommunicationHub> logger)
 {
     this.participantRepository = participantRepository;
     this.roomRepository        = roomRepository;
     this.inactivityGuard       = inactivityGuard;
     this.logger = logger;
 }
 public CompetitionController()
 {
     participantRepository   = new ParticipantRepository();
     categoryRepository      = new CategoryRepository();
     competititionRepository = new CompetitionRepository();
     competitionService      = new CompetitionService(competititionRepository, ModelState);
 }
Example #17
0
 public SwimServerImpl(IParticipantRepository partRepo, IEventRepository eventRepo, IParticipantEventRepository eventPartRepo, IOrganizerRepository orgRepo)
 {
     this.partRepo      = partRepo;
     this.eventRepo     = eventRepo;
     this.eventPartRepo = eventPartRepo;
     this.orgRepo       = orgRepo;
     loggedClients      = new Dictionary <String, ISwimObserver>();
 }
 public ParticipantController(IRetreatRepository retreatRepository, IParticipantRepository participantRepository, IBedRepository bedRepository, IUrlMapper urlMapper, IControllerCommandInvoker commandInvoker)
 {
     _retreatRepository = retreatRepository;
     _participantRepository = participantRepository;
     _bedRepository = bedRepository;
     _urlMapper = urlMapper;
     _commandInvoker = commandInvoker;
 }
Example #19
0
 public ConstructionHandler(IOwnerRepository PPREP, IResponsibleRepository RREP,
                            IConstructionRepository OREP, IParticipantRepository PAREP)
 {
     _PPREP = PPREP;
     _RREP  = RREP;
     _OREP  = OREP;
     _PAREP = PAREP;
 }
 public ParticipantMoreController(IParticipantRepository rep, IParticipantApplicationService app, ILoggerFactory logger, EnviromentInfo env, CurrentUser user)
 {
     this._rep    = rep;
     this._app    = app;
     this._logger = logger.CreateLogger <ParticipantMoreController>();
     this._env    = env;
     this._user   = user;
 }
Example #21
0
 public RetreatController(IRetreatRepository retreatRepository, IParticipantRepository participantRepository, IBedRepository bedRepository, IControllerCommandInvoker commandInvoker, IReportGeneratorService reportGenerator)
 {
     _retreatRepository = retreatRepository;
     _participantRepository = participantRepository;
     _bedRepository = bedRepository;
     _commandInvoker = commandInvoker;
     _reportGenerator = reportGenerator;
 }
 public ParticipantController(
     IParticipantRepository participantRepository,
     UserManager <Domain.User.ApplicationUser> userManager,
     IAuthorizeService authorizationService) : base(authorizationService)
 {
     _participantRepository = participantRepository;
     _userManager           = userManager;
 }
Example #23
0
 public Service(IParticipantRepository participantRepository,
                IArbiterRepository arbiterRepository,
                IScoreRepository scoreRepository)
 {
     ParticipantRepository = participantRepository;
     ArbiterRepository     = arbiterRepository;
     ScoreRepository       = scoreRepository;
 }
Example #24
0
 public ParticipantService(IParticipantRepository participantRepository,
                           IUserService userService,
                           IPTaskRepository pTaskRepository)
 {
     _participantRepository = participantRepository;
     _userService           = userService;
     _pTaskRepository       = pTaskRepository;
 }
Example #25
0
 public BetService(IBetRepository betRepository, IMatchRepository matchRepository, IUserRepository userRepository, IParticipantRepository participantRepository, IMapper mapper)
 {
     _betRepository         = betRepository;
     _matchRepository       = matchRepository;
     _userRepository        = userRepository;
     _participantRepository = participantRepository;
     _mapper = mapper;
 }
Example #26
0
        public CreateParticipantCommandValidator(IParticipantRepository participantRepository)
        {
            _participantRepository = participantRepository;

            RuleFor(p => p.ParticipantEmail)
            .NotEmpty().WithMessage("{PropertyName} is required.")
            .NotNull()
            .MaximumLength(50).WithMessage("{PropertyName} must not exceed 50 characters.");
        }
 public CreateParticipantUseCase(
     IUnitOfWork unitOfWork,
     IParticipantRepository participantRepository,
     IParticipantFactory factory)
 {
     _unitOfWork            = unitOfWork;
     _participantRepository = participantRepository;
     _factory = factory;
 }
Example #28
0
 public ReservationsController()
 {
     this._reservationRepository = new ReservationRepository();
     this._participantRepository = new ParticipantRepository();
     this._userRepository        = new UserRepository();
     this._crawler    = new ScheduleCrawler();
     this._httpClient = new HttpClient();
     this._email      = new Email();
 }
Example #29
0
        public ParticipantService(IParticipantRepository participantRepository)
        {
            _participantRepository = participantRepository ?? throw new ArgumentNullException(nameof(participantRepository));

            //logg
            Log.Logger = new LoggerConfiguration()
                         .WriteTo.Console()
                         .CreateLogger();
        }
Example #30
0
        public ParticipantController(IParticipantRepository repository)
        {
            if (repository == null)
            {
                throw new ArgumentNullException(nameof(repository));
            }

            _repository = repository;
        }
Example #31
0
 public RoomAspectLoader(
     IRoomAspectMapper roomAspectMapper,
     IRoomRepository roomRepository,
     IParticipantRepository participantRepository)
 {
     _roomAspectMapper      = roomAspectMapper;
     _roomRepository        = roomRepository;
     _participantRepository = participantRepository;
 }
 public ParticipantService
 (
     IParticipantRepository participantRepository,
     IFailedTransactionRepository failedRepository
 )
 {
     _participantRepository = participantRepository;
     _failedRepository      = failedRepository;
 }
Example #33
0
 public ResetPasswordController(
     ILogger <ResetPasswordController> logger,
     IParticipantRepository participantRepository,
     IPasswordResetRepository passwordResetRepository)
 {
     _logger = logger;
     _participantRepository   = participantRepository;
     _passwordResetRepository = passwordResetRepository;
 }
Example #34
0
 public ParticipationRepository(
     IParticipantRepository participantRepository,
     IMappingProvider mapper,
     DatabaseContext context)
     : base(context)
 {
     _participantRepository = participantRepository;
     _mapper = mapper;
 }
Example #35
0
 public UserController()
 {
     this.participantRepository = new ParticipantRepository();
 }
Example #36
0
 public UserController(IParticipantRepository repository)
 {
     this.participantRepository = repository;
 }