Exemplo n.º 1
0
        public async Task <IActionResult> CreateBet([FromBody] BetApiModel bet)
        {
            // var header = _context.HttpContext.Request?.Headers["id"];
            var newbet = await _rouletteService.NewBet(bet);

            return(Ok(ResponseMapper.MapBet(newbet)));
        }