public IActionResult SetPlayedcard(int playerId, Card card) { try { _playTableService.SetPlayedCard(playerId, card); return(Ok()); } catch (AppException ex) { return(BadRequest(new { message = ex.Message })); } }
public IActionResult SetPlayedcard(int playerId, Card card) { try { _playTableService.SetPlayedCard(playerId, card); return(Ok()); } catch (AppException ex) { return(BadRequest(new { message = ex.Message })); } }