Example #1
0
        public async Task <ActionResult <GamesDTO> > PostGames(GamesDTO games)
        {
            await _games.Create(games);

            return(CreatedAtAction("GetGames", new { id = games.Id }, games));
        }