public async Task <IActionResult> PlaceBet([FromBody] dynamic body, [FromHeader(Name = "userId")] string userId) { try { CustomResponse <Bet> response = await _rouletteService.PlaceBet(body.rouletteId.Value, body.betPlace.Value, body.amount.Value, userId); return(Ok(response)); } catch (MessageException exception) { return(Problem( detail: exception.Message, title: exception.StatusName)); } }