tag.service.ts 593 B

1234567891011121314151617181920212223242526
  1. import { Injectable } from '@nestjs/common';
  2. import { CreateTagDto } from './dto/create-tag.dto';
  3. import { UpdateTagDto } from './dto/update-tag.dto';
  4. @Injectable()
  5. export class TagService {
  6. create(createTagDto: CreateTagDto) {
  7. return 'This action adds a new tag';
  8. }
  9. findAll() {
  10. return `This action returns all tag`;
  11. }
  12. findOne(id: number) {
  13. return `This action returns a #${id} tag`;
  14. }
  15. update(id: number, updateTagDto: UpdateTagDto) {
  16. return `This action updates a #${id} tag`;
  17. }
  18. remove(id: number) {
  19. return `This action removes a #${id} tag`;
  20. }
  21. }