async index() {
    const roles = await Role.query()
      .with("permissions")
      .fetch();

    return roles;
  }
/**
   * Show a list of all roles.
   * GET roles
   */
Show a list of all roles.
GET roles
Show a list of all roles . GET roles
async index() {
    const roles = await Role.query()
      .with("permissions")
      .fetch();
    return roles;
  }
async index ( ) { const roles = await Role . query ( ) . with ( "permissions" ) . fetch ( ) ; return roles ; }
Show a list of all roles.
Show a list of all roles .