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; }
public PlayerController(IBattleShipService battleShipService) { _battleShipService = battleShipService; }
public MatchController(IBattleShipService battleShipService) { _battleShipService = battleShipService; }