public CompetitionResultEntryController(AddCompetitionEntrantResultCommandHandler handler, ICompetitionEntrantResultRepository competitionEntrantResultRepository, VerifyCompetitionEntrantResultCommandHandler verifyCompetitionEntrantResultCommandHandler, DeleteCompetitionEntrantResultCommandHandler deleteCompetitionEntrantResultCommandHandler)
 {
     this._handler = handler;
     this._competitionEntrantResultRepository           = competitionEntrantResultRepository;
     this._verifyCompetitionEntrantResultCommandHandler = verifyCompetitionEntrantResultCommandHandler;
     this._deleteCompetitionEntrantResultCommandHandler = deleteCompetitionEntrantResultCommandHandler;
 }
 public DeleteCompetitionEntrantResultCommandHandler(ILogger <DeleteCompetitionEntrantResultCommandHandler> logger, IAdminUnitOfWork unitOfWork,
                                                     ICompetitionEntrantResultRepository competitionEntrantResultRepository, IApplicationUser applicationUser)
 {
     this._logger     = logger;
     this._unitOfWork = unitOfWork;
     this._competitionEntrantResultRepository = competitionEntrantResultRepository;
     this._applicationUser  = applicationUser;
     this._validationResult = new ValidationResult();
 }
Esempio n. 3
0
 public SyncAdminResultCommandHandler(
     IServiceProvider serviceProvider,
     ISessionProvider sessionProvider,
     IUnitOfWork unitOfWork,
     ICompetitionRepository competitionRepository,
     ICompetitionEventRepository competitionEventRepository,
     ICompetitionEntrantResultRepository competitionEntrantResultRepository,
     IPlayerFixtureRepository playerFixtureRepository)
 {
     this._serviceProvider                    = serviceProvider;
     this._sessionProvider                    = sessionProvider;
     this._unitOfWork                         = unitOfWork;
     this._competitionRepository              = competitionRepository;
     this._competitionEventRepository         = competitionEventRepository;
     this._competitionEntrantResultRepository = competitionEntrantResultRepository;
     this._playerFixtureRepository            = playerFixtureRepository;
 }
 public AddCompetitionEntrantResultCommandHandler(
     ILogger <AddCompetitionEntrantCommandHandler> logger,
     IUnitOfWork unitOfWork,
     IAdminUnitOfWork adminUnitOfWork,
     ICompetitionRepository competitionRepository,
     ICompetitionEntrantRepository competitionEntrantRepository,
     ICompetitionEntrantResultRepository competitionEntrantResultRepository,
     AddCompetitionEntrantResultCommandValidator validator,
     IApplicationUser user)
 {
     this._logger                             = logger;
     this._unitOfWork                         = unitOfWork;
     this._adminUnitOfWork                    = adminUnitOfWork;
     this._competitionRepository              = competitionRepository;
     this._competitionEntrantRepository       = competitionEntrantRepository;
     this._competitionEntrantResultRepository = competitionEntrantResultRepository;
     this._validator                          = validator;
     this._user             = user;
     this._validationResult = new ValidationResult();
 }
 public CompetitionPlayerController(
     ICompetitionRepository competitionRepository,
     ICompetitionRegistrationRepository competitionRegistrationRepository,
     IRegistrationEmailManager registrationEmailManager,
     IPlayerFixtureRepository playerFixtureRepository,
     ICompetitionFilterService competitionFilterService,
     ICompetitionEntrantRepository competitionEntrantRepository,
     ICompetitionResultRepository competitionResultRepository,
     ICompetitionEntrantResultRepository competitionEntrantResultRepository,
     IApplicationUser applicationUser)
 {
     this._competitionRepository              = competitionRepository;
     this._competitionRegistrationRepository  = competitionRegistrationRepository;
     this._registrationEmailManager           = registrationEmailManager;
     this._playerFixtureRepository            = playerFixtureRepository;
     this._competitionFilterService           = competitionFilterService;
     this._competitionEntrantRepository       = competitionEntrantRepository;
     this._competitionResultRepository        = competitionResultRepository;
     this._competitionEntrantResultRepository = competitionEntrantResultRepository;
     this._applicationUser = applicationUser;
 }