public async Task <IActionResult> CloseRoulette([FromBody] dynamic body) { try { CustomResponse <List <Bet> > response = await _rouletteService.CloseBets(body.rouletteId.Value); return(Ok(response)); } catch (MessageException exception) { return(Problem( detail: exception.Message, title: exception.StatusName)); } }