Files
api-AT/src/servicio/servicio.controller.ts
T

15 lines
397 B
TypeScript
Raw Normal View History

2026-02-23 18:16:17 -06:00
import { Controller, Get, UseGuards } from '@nestjs/common';
2025-09-10 17:32:00 -06:00
import { ServicioService } from './servicio.service';
2026-02-23 18:16:17 -06:00
import { JwtAuthGuard } from 'src/user/jwt.guard';
2025-09-10 17:32:00 -06:00
@Controller('servicio')
export class ServicioController {
constructor(private readonly servicioService: ServicioService) {}
2026-02-23 18:16:17 -06:00
@UseGuards(JwtAuthGuard)
2025-09-10 17:32:00 -06:00
@Get()
findAll() {
return this.servicioService.findAll();
}
}
2025-09-12 20:41:51 -06:00
//IO