public ModeratorHandler(
     IEntityRepository<IEndowmentEntity> entityRepository,
     IModeratorRepository moderatorRepository,
     IModeratorFactory moderatorFactory)
 {
     _entityRepository = entityRepository;
     _moderatorRepository = moderatorRepository;
     _moderatorFactory = moderatorFactory;
 }
Exemple #2
0
 public ModeratorStore(
     IModeratorRepository <Moderator> moderatorRepository,
     ILogger <ModeratorStore> logger,
     IDbQueryConfiguration dbQuery,
     ICacheManager cacheManager)
 {
     _moderatorRepository = moderatorRepository;
     _cacheManager        = cacheManager;
     _dbQuery             = dbQuery;
     _logger = logger;
 }
Exemple #3
0
        public PhotoController(IModeratorRepository moderatorRepository, IAppRepository appRepository, IMapper mapper,
                               IOptions <CloudinaryCredentials> cloudinaryCredentials)
        {
            this.moderatorRepository   = moderatorRepository;
            this.cloudinaryCredentials = cloudinaryCredentials;
            this.mapper        = mapper;
            this.appRepository = appRepository;

            cloudinary = new Cloudinary(new Account(cloudinaryCredentials.Value.CloudName, cloudinaryCredentials.Value.ApiKey,
                                                    cloudinaryCredentials.Value.ApiSecret));
        }
 public GetBlindAssessmentOutcomeHandler(IModeratorRepository repository, ILogger <GetBlindAssessmentOutcomeHandler> logger)
 {
     _repository = repository;
     _logger     = logger;
 }
 public EndowmentRepositories(
     IComplianceRoleRepository complianceRoles,
     IContactRepository contacts,
     IDepositoryRepository depositories,
     IGlobalRoleRepository globalRoles,
     IModeratorRepository moderators,
     IPersonRepository persons,
     IProjectRepository projects,
     IServiceDataRepository serviceData,
     IStatusRepository statuses,
     ITransactionRepository transactions,
     IUserRepository users,
     IProjectQueueRepository projectQueue,
     IProjectPriceRepository prices,
     IAcceptedProjectRepository acceptedProject,
     IHistoryProjectRepository historyProject,
     IModeratorLevelRepository moderatorLevel,
     ITempDepositoryRepository tempDepository,
     IVotingPeriodRepository votingPeriod,
     ITempDepositoryHistoryRepository tempDepositoryHistory,
     IContactTypesRepository contactTypes,
     ITransactionHistoryRepository transactionHistory,
     IVotingPeriodReportRepository votingPeriodReport)
 {
     ComplianceRoles = complianceRoles;
     Contacts = contacts;
     Depositories = depositories;
     GlobalRoles = globalRoles;
     Moderators = moderators;
     Persons = persons;
     Projects = projects;
     ServiceData = serviceData;
     Statuses = statuses;
     Transactions = transactions;
     Users = users;
     ProjectQueue = projectQueue;
     Prices = prices;
     AcceptedProject = acceptedProject;
     HistoryProject = historyProject;
     ModeratorLevel = moderatorLevel;
     TempDepository = tempDepository;
     VotingPeriod = votingPeriod;
     TempDepositoryHistory = tempDepositoryHistory;
     ContactTypes = contactTypes;
     TransactionHistory = transactionHistory;
     VotingPeriodReport = votingPeriodReport;
 }
 public SubmitModeratorOutcomeHandler(ILogger <SubmitModeratorOutcomeHandler> logger, IApplyRepository applyRepository, IModeratorRepository moderatorRepository)
 {
     _logger              = logger;
     _applyRepository     = applyRepository;
     _moderatorRepository = moderatorRepository;
 }
 public CreateEmptyModeratorReviewHandler(ILogger <CreateEmptyModeratorReviewHandler> logger, IApplyRepository applyRepository, IModeratorRepository repository)
 {
     _logger              = logger;
     _applyRepository     = applyRepository;
     _moderatorRepository = repository;
 }
 public ModeratorService(IModeratorRepository repository, IIdentityUserService identityUserService, ICompanyService companyService)
     : base(repository, identityUserService, companyService)
 {
 }
 public GetModeratorPageReviewOutcomeHandler(IModeratorRepository repository, ILogger <GetModeratorPageReviewOutcomeHandler> logger)
 {
     _repository = repository;
     _logger     = logger;
 }
Exemple #10
0
 public ModeratorService(IRepository<Moderator> repository, IModeratorRepository moderatorRepository)
 {
     _repository = repository;
     _moderatorRepository = moderatorRepository;
 }