Beispiel #1
0
 public GameController(IGameLogic gameLogic, IGameBetsLogic gameBetsLogic, IUserLogic userLogic, ILogger <GameController> logger)
 {
     _gameLogic     = gameLogic;
     _gameBetsLogic = gameBetsLogic;
     _userLogic     = userLogic;
     _logger        = logger;
 }
Beispiel #2
0
 public HomeController(IUserLogic userLogic, IGameLogic gameLogic, IGameBetsLogic gameBetsLogic, IPlayerLogic playerLogic, ILogger <HomeController> logger)
 {
     _userLogic     = userLogic;
     _gameLogic     = gameLogic;
     _gameBetsLogic = gameBetsLogic;
     _playerLogic   = playerLogic;
     _logger        = logger;
 }
Beispiel #3
0
 /// <summary>
 /// Creates a new instance of the TransactionController and injects the transactionLogic, and logger.
 /// </summary>
 /// <param name="transactionLogic">The transaction logic to be injected.</param>
 /// <param name="userLogic">The user logic to be injected.</param>
 /// <param name="logger">The logger to be injected.</param>
 public HistoryController(ITransactionLogic transactionLogic, IGameBetsLogic gameBetsLogic,
                          IUserLogic userLogic, ILogger <GameController> logger)
 {
     _transactionLogic = transactionLogic;
     _gameBetsLogic    = gameBetsLogic;
     _userLogic        = userLogic;
     _logger           = logger;
 }