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

16 lines
355 B
TypeScript
Raw Normal View History

2022-04-20 18:02:12 -05:00
import { Controller, Get, Query } from '@nestjs/common';
2022-04-04 20:53:32 -05:00
import { CarreraService } from './carrera.service';
2022-05-01 17:03:37 -05:00
import { ApiTags } from '@nestjs/swagger';
2022-03-31 14:33:11 -06:00
@Controller('carrera')
2022-04-30 21:18:19 -05:00
@ApiTags('carrera')
2022-04-04 20:53:32 -05:00
export class CarreraController {
constructor(private carreraService: CarreraService) {}
2022-04-17 20:47:35 -05:00
2022-05-01 17:03:37 -05:00
@Get()
get() {
return this.carreraService.findAll();
2022-04-20 18:02:12 -05:00
}
2022-04-04 20:53:32 -05:00
}