Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 public FinalScoresHandler(IGameRepository gameRepository, IUserRepository userRepository, IBestAttemptsService bestAttemptsService)
 {
     this.gameRepository      = gameRepository;
     this.userRepository      = userRepository;
     this.bestAttemptsService = bestAttemptsService;
 }
Esempio n. 3
0
 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);
 }