public async Task <bool> CheckPointsPlayer(CheckPointsPlayerGameView checkPointsPlayerGameView) { Hand hand = await _handRepository.GetHandByRoundAndPlayerId(checkPointsPlayerGameView.RoundId, checkPointsPlayerGameView.PlayerId); bool result = hand != null && hand.Summary < GameConstants.BLACKJACK; return(result); }
public async Task <bool> CheckPointsPlayer([FromBody] CheckPointsPlayerGameView checkPointsPlayerGameView) { bool response = await _gameLogicService.CheckPointsPlayer(checkPointsPlayerGameView); return(response); }