Пример #1
0
 public BaseballPlayCreatedEventHandler(IMapper mapper, BaseballPlayRepository baseballPlayRepo, ICommandSender commandSender, ILoggerFactory loggerFactory)
 {
     _mapper                     = mapper;
     _baseballPlayRepo           = baseballPlayRepo;
     _commandSender              = commandSender;
     baseballGameCompletedLogger = loggerFactory.CreateLogger("BaseballGameCompleted");
 }
Пример #2
0
 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;
 }