27 lines
709 B
TypeScript
27 lines
709 B
TypeScript
|
import { Injectable } from '@nestjs/common';
|
||
|
import { CreatePostCommentDto } from './dto/create-post-comment.dto';
|
||
|
import { UpdatePostCommentDto } from './dto/update-post-comment.dto';
|
||
|
|
||
|
@Injectable()
|
||
|
export class PostCommentsService {
|
||
|
create(createPostCommentDto: CreatePostCommentDto) {
|
||
|
return 'This action adds a new postComment';
|
||
|
}
|
||
|
|
||
|
findAll() {
|
||
|
return `This action returns all postComments`;
|
||
|
}
|
||
|
|
||
|
findOne(id: number) {
|
||
|
return `This action returns a #${id} postComment`;
|
||
|
}
|
||
|
|
||
|
update(id: number, updatePostCommentDto: UpdatePostCommentDto) {
|
||
|
return `This action updates a #${id} postComment`;
|
||
|
}
|
||
|
|
||
|
remove(id: number) {
|
||
|
return `This action removes a #${id} postComment`;
|
||
|
}
|
||
|
}
|