Files
pcpuma_unam_api/src/carrera/carrera.controller.ts
T

15 lines
347 B
TypeScript

import { Controller, Get } from '@nestjs/common';
import { ApiTags } from '@nestjs/swagger';
import { CarreraService } from './carrera.service';
@Controller('carrera')
@ApiTags('carrera')
export class CarreraController {
constructor(private carreraService: CarreraService) {}
@Get()
get() {
return this.carreraService.findAll();
}
}