import { Body , Controller , Get , HttpCode , Param , Patch , Post , Put , Query , Redirect , Req , } from '@nestjs/common' ; import { AppService } from './app.service' ; @ Controller ( ) export class AppController { constructor ( private readonly appService ) { } @ Get ( '/' ) async getHello ( ) { return this . appService . getHello ( ) ; } }