public BaseballPlayCreatedEventHandler(IMapper mapper, BaseballPlayRepository baseballPlayRepo, ICommandSender commandSender, ILoggerFactory loggerFactory) { _mapper = mapper; _baseballPlayRepo = baseballPlayRepo; _commandSender = commandSender; baseballGameCompletedLogger = loggerFactory.CreateLogger("BaseballGameCompleted"); }
public QueryController(BaseballPlayRepository baseballPlayRepo, TeamRepository teamRepo, PlayerRepository playerRepo, RosterMemberRepository rosterMemberRepo, GameSummaryRepository summaryRepo, LineupRepository lineupRepo, LineupChangeRepository lineupChangeRepo) { this.baseballPlayRepo = baseballPlayRepo; this.teamRepo = teamRepo; this.playerRepo = playerRepo; this.rosterMemberRepo = rosterMemberRepo; this.summaryRepo = summaryRepo; this.lineupRepo = lineupRepo; this.lineupChangeRepo = lineupChangeRepo; }