public RosterMemberCreatedEventHandler(IMapper mapper, RosterMemberRepository rosterMemberRepo, PlayerRepository playerRepo, ILoggerFactory loggerFactory) { _mapper = mapper; _rosterMemberRepo = rosterMemberRepo; _playerRepo = playerRepo; _logger = loggerFactory.CreateLogger("RosterMember"); }
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; }