public AddCompetitionStageCommandHandler( IUnitOfWork unitOfWork, ICompetitionRepository competitionRepository, ICompetitionStageRepository competitionStageRepository, ICompetitionEventRepository competitionEventRepository, AddCompetitionStageCommandValidator validator, ICompetitionRoundRepository competitionRoundRepository) { this._unitOfWork = unitOfWork; this._competitionRepository = competitionRepository; this._competitionStageRepository = competitionStageRepository; this._competitionEventRepository = competitionEventRepository; this._validator = validator; this._competitionRoundRepository = competitionRoundRepository; }
public AddPlayerFixtureCommandHandler( IUnitOfWork unitOfWork, ISessionProvider sessionProvider, ILogger <AddPlayerFixtureCommandHandler> logger, ICompetitionRepository competitionRepository, ICompetitionStageRepository competitionStageRepository, ICompetitionEventRepository competitionEventRepository, IPlayerCompetitionRoundRepository playerCompetitionRoundRepository, IPlayerFixtureRepository playerFixtureRepository, ICompetitionEntrantRepository competitionEntrantRepository, ICompetitionRoundRepository competitionRoundRepository) { this._unitOfWork = unitOfWork; this._sessionProvider = sessionProvider; this._logger = logger; this._competitionRepository = competitionRepository; this._competitionStageRepository = competitionStageRepository; this._competitionEventRepository = competitionEventRepository; this._playerCompetitionRoundRepository = playerCompetitionRoundRepository; this._playerFixtureRepository = playerFixtureRepository; this._competitionEntrantRepository = competitionEntrantRepository; this._competitionRoundRepository = competitionRoundRepository; this._validationResult = new ValidationResult(); }