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