/// <summary> /// Controller for the ShipLocation table /// </summary> /// <param name="shipLocationRepo"></param> /// <param name="shotRepo"></param> /// <param name="playerRepo"></param> public ShipLocationController(ShipLocationRepo shipLocationRepo, ShotRepo shotRepo, PlayerRepo playerRepo) : base(playerRepo) { _shipLocationRepo = shipLocationRepo; _shotRepo = shotRepo; }
/// <summary> /// Controller for the Shot table. /// </summary> /// <param name="shotRepo"></param> /// <param name="playerRepo"></param> public ShotController(ShotRepo shotRepo, PlayerRepo playerRepo) : base(playerRepo) { _playerRepo = playerRepo; _shotRepo = shotRepo; }