web-service/apps/catalog/src/catalog.controller.ts

13 lines
298 B
TypeScript

import { Controller, Get } from '@nestjs/common';
import { CatalogService } from './catalog.service';
@Controller()
export class CatalogController {
constructor(private readonly catalogService: CatalogService) {}
@Get()
getHello(): string {
return this.catalogService.getHello();
}
}