async index({ request, response, view }) {
    const games = await Game.all();

    return games;
  }
/**
   * Show a list of all games.
   * GET games
   */
Show a list of all games.
GET games
Show a list of all games . GET games
async index({ request, response, view }) {
    const games = await Game.all();
    return games;
  }
async index ( { request , response , view } ) { const games = await Game . all ( ) ; return games ; }
Show a list of all games.
Show a list of all games .