Ejemplo n.º 1
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;
 }
Ejemplo n.º 2
0
 public RankService(ILogger logger, ILogEventBuilder eventBuilder)
 {
     _logger = logger;
     _eventBuilder = eventBuilder;
     _rankRepository = new RankRepository();
 }