import { Controller, Get } from '@nestjs/common';
import { ApiTags, ApiBearerAuth } from '@nestjs/swagger';
import { NoAuthToken } from 'src/common/decorator/no-token.decorator';
import { AssessmentEvaluationService } from '../service/assessment-evaluation.service';

@ApiTags('考核测评 - 主功能')
@ApiBearerAuth()
// @NoAuthToken()
@Controller('assessmentEvaluation')
export class AssessmentEvaluationController {
  constructor(
    private readonly assessmentEvaluationService: AssessmentEvaluationService,
  ) {}
  // @Post()
  // async create(
  //   @Body() createKnowledgePointDto: CreateKnowledgePointDto,
  //   @TokenData() token: any,
  // ) {
  //   createKnowledgePointDto.creator = createKnowledgePointDto.updater = token.userId;
  //   return this.KnowledgePointService.create(createKnowledgePointDto);
  // }

  // @Get()
  // async findAll() {
  //   return this.KnowledgePointService.findAll();
  // }

  // @Patch(':id')
  // async update(@Param('id') id: string, @Body() updateKnowledgePointDto: UpdateKnowledgePointDto) {
  //   return this.KnowledgePointService.update(+id, updateKnowledgePointDto);
  // }

  // @Delete(':id')
  // async remove(@Param('id') id: string) {
  //   return this.KnowledgePointService.remove(+id);
  // }
}
