Exemplo n.º 1
0
        public async Task <IActionResult> BattleWithBot([FromBody] BattleViewModel battleViewModel)
        {
            var result = await _tournamentService.BattleWithBot(battleViewModel.Dungeon, battleViewModel.Enemy, LoggedInUser);

            return(Json(result));
        }