import {
  Controller,
  Get,
  Post,
  Body,
  Patch,
  Param,
  Delete,
  UseGuards,
} from "@nestjs/common";
import { RecordCategoryService } from "./record-category.service";
import { ThrottlerGuard, SkipThrottle } from "@nestjs/throttler";

@Controller("record_category")
export class RecordCategoryController {
  constructor(private readonly recordCategoryService: RecordCategoryService) {}

  @UseGuards(ThrottlerGuard)
  @SkipThrottle()
  @Get()
  findAll() {
    return this.recordCategoryService.findAll();
  }
}
