For example, action ```cs [HttpGet] public async Task<ActionResult<IEnumerable<Game>>> GetGame() { if (_context.Game == null) { return NotFound(); } return await _context.Game.ToListAsync(); } ``` endpoint ```cs routes.MapGet("/api/Game", async (GamesTestAPIContext db) => { return await db.Game.ToListAsync(); }) .WithName("GetAllGames") .Produces<List<Game>>(StatusCodes.Status200OK); ```