Exemplo n.º 1
0
 public PlayerService(ILogger logger, ILogEventBuilder eventBuilder)
 {
     _logger = logger;
     _eventBuilder = eventBuilder;
     _userTeamRepository = new UserTeamRepository();
     _userRepository = new UserRepository();
     _userRankRepository = new UserRankRepository();
 }
Exemplo n.º 2
0
 public TeamService(ILogger logger, ILogEventBuilder eventBuilder)
 {
     _teamRepository = new TeamRepository();
     _rankRepository = new RankRepository();
     _userTeamRepository = new UserTeamRepository();
     _userRepository = new UserRepository();
     _publisher = new RabbitMqPublisher();
     _userRankRepository = new UserRankRepository();
     _logger = logger;
     _eventBuilder = eventBuilder;
 }