예제 #1
0
 public HistoryService(
     IUserRepository userRepository,
     IBotRepository botRepository,
     IGameRepository gameRepository,
     IDeckRepository deckRepository,
     IUsersStepRepository usersStepRepository,
     IBotsStepRepository botsStepRepository,
     IUsersPointsRepository usersPointsRepository,
     IBotsPointsRepository botsPointsRepository)
 {
     _userRepository        = userRepository;
     _botRepository         = botRepository;
     _gameRepository        = gameRepository;
     _usersStepRepository   = usersStepRepository;
     _deckRepository        = deckRepository;
     _botsStepRepository    = botsStepRepository;
     _usersPointsRepository = usersPointsRepository;
     _botsPointsRepository  = botsPointsRepository;
 }
예제 #2
0
 public GameService(
     IUserRepository userRepository,
     IBotRepository botRepository,
     IGameRepository gameRepository,
     IDeckRepository deckRepository,
     IUsersStepRepository usersStepRepository,
     IBotsStepRepository botsStepRepository,
     IUsersPointsRepository usersPointsRepository,
     IBotsPointsRepository botsPointsRepository,
     IDeckHelper deckHelper)
 {
     _userRepository        = userRepository;
     _botRepository         = botRepository;
     _gameRepository        = gameRepository;
     _usersStepRepository   = usersStepRepository;
     _deckRepository        = deckRepository;
     _botsStepRepository    = botsStepRepository;
     _usersPointsRepository = usersPointsRepository;
     _botsPointsRepository  = botsPointsRepository;
     _deckHelper            = deckHelper;
 }