app.MapGet("/items/{id}", async (int id, InventoryDbContext dbContext)=> { item = await dbContext.Items.FirstOrDefaultAsync(x => x.Id == id) if (item is null) return Results.NotFound() return Results.Ok(item)}