Пример #1
0
        public async Task <IActionResult> BetOnRoulette([FromBody] DTOBet bet)
        {
            var headerUserParameter = Request.Headers["user"].ToString();
            await rouletteService.BetOnRoulette(bet : bet, user : headerUserParameter);

            return(Ok("La apuesta se ha realizado correctamente"));
        }