Exemplo n.º 1
0
        public async Task <IActionResult> PostGameGenre(int gameId, int genreId)
        {
            var result = await _gameService.AddGameGenreAsync(gameId, genreId);

            if (result == true)
            {
                return(Ok(result));
            }
            else
            {
                return(BadRequest());
            }
        }