import { Controller, Get, Render } from '@nestjs/common';
import { AppService } from './app.service';

@Controller()
export class AppController {
  constructor(private readonly appService: AppService) { }

  @Get()
  @Render('register')
  renderRegister() {
    return { message: 'Please login' };
  }

  @Get("test")
  @Render('test')
  renderTest() {
    return { message: 'Please login' };
  }
} 
