Exemple #1
0
 public ApiGameController(IGame game, IWinnerService winnerService, IGameLogService gameLogService, IEnumerable <IComputerMove> computerMoves)
 {
     _game           = game;
     _winnerService  = winnerService;
     _gameLogService = gameLogService;
     _computerMoves  = computerMoves;
 }
Exemple #2
0
 public GameLogApiController(
     IMapper mapper,
     IGameLogService gameLogService,
     ILoginUserRepository loginUserRepository
     ) : base(mapper, loginUserRepository)
 {
     _gameLogService = gameLogService;
 }
Exemple #3
0
 public AccountApiController(
     IAccountService accountService,
     IGameLogService gameLogService,
     ILoginUserRepository loginUserRepository
     ) : base(loginUserRepository)
 {
     _accountService = accountService;
     _gameLogService = gameLogService;
 }
 public GameController(IGame game, IGameLogService gameLogService)
 {
     _game           = game;
     _gameLogService = gameLogService;
 }