Пример #1
0
 public BattleShipController(
     IBoardRepo boardRepo,
     IBattleShipRepo battleShipRepo,
     IBlockRepo blockRepo,
     IBattleShipService battleShipService,
     ILogger <BattleShipController> logger)
 {
     this.boardRepo         = boardRepo;
     this.battleShipRepo    = battleShipRepo;
     this.blockRepo         = blockRepo;
     this.battleShipService = battleShipService;
     this.logger            = logger;
 }
 public BoardController(IBattleShipService battleShipService)
 {
     _battleShipService = battleShipService;
 }
Пример #3
0
 public PlayerController(IBattleShipService battleShipService)
 {
     _battleShipService = battleShipService;
 }
Пример #4
0
 public MatchController(IBattleShipService battleShipService)
 {
     _battleShipService = battleShipService;
 }