1234567891011121314151617181920212223242526 |
- import { Injectable } from '@nestjs/common';
- import { CreateAuthorDto } from './dto/create-author.dto';
- import { UpdateAuthorDto } from './dto/update-author.dto';
- @Injectable()
- export class AuthorService {
- create(createAuthorDto: CreateAuthorDto) {
- return 'This action adds a new author';
- }
- findAll() {
- return `This action returns all author`;
- }
- findOne(id: number) {
- return `This action returns a #${id} author`;
- }
- update(id: number, updateAuthorDto: UpdateAuthorDto) {
- return `This action updates a #${id} author`;
- }
- remove(id: number) {
- return `This action removes a #${id} author`;
- }
- }
|