public DashboardService( IGameRepository gameRepository, IHoleRepository holeRepository, ISignalRNotifier signalRNotifier, IAttemptRepository attemptRepository, IUserRepository userRepository, IBestAttemptsService bestAttemptsService, IChallengeRepository challengeRepository) { this.gameRepository = gameRepository; this.holeRepository = holeRepository; this.signalRNotifier = signalRNotifier; this.attemptRepository = attemptRepository; this.userRepository = userRepository; this.bestAttemptsService = bestAttemptsService; this.challengeRepository = challengeRepository; }
public FinalScoresHandler(IGameRepository gameRepository, IUserRepository userRepository, IBestAttemptsService bestAttemptsService) { this.gameRepository = gameRepository; this.userRepository = userRepository; this.bestAttemptsService = bestAttemptsService; }
public ResultsService(IGameRepository gameRepository, IUserRepository userRepository, IBestAttemptsService bestAttemptsService) { this.gameRepository = gameRepository; this.userRepository = userRepository; this.bestAttemptsService = bestAttemptsService; }
public BestAttemptsServiceShould() { this.attemptRepository = this.mr.Create <IAttemptRepository>(); this.codeGolfService = new BestAttemptsService(this.attemptRepository.Object); }