public PlayerService(DataContext context, IMapper mapper, RatingService ratingService, DecayService decayService) { _context = context; _mapper = mapper; _ratingService = ratingService; _decayService = decayService; }
public MatchService( NotificationService notificationService, RatingService ratingService, DecayService decayService, DataContext context, IMapper mapper ) { _notificationService = notificationService; _ratingService = ratingService; _decayService = decayService; _context = context; _mapper = mapper; }
public LeaderboardService( DataContext context, MatchService matchService, RatingService ratingService, DecayService decayService, IMemoryCache cache ) { _context = context; _matchService = matchService; _ratingService = ratingService; _decayService = decayService; _cache = cache; var _leaderboardConfig = new LeaderboardConfig(); _leaderboardKey = _leaderboardConfig.CacheKey; _seasonStart = _leaderboardConfig.SeasonStart; }
public RatingService(DataContext context, DecayService decayService) { _ratingConfig = new RatingConfig(); _context = context; _decayService = decayService; }