foods
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
import { Injectable } from '@nestjs/common';
|
||||
import { CreateFoodDto } from './dto/create-food.dto';
|
||||
import { UpdateFoodDto } from './dto/update-food.dto';
|
||||
|
||||
@Injectable()
|
||||
export class FoodsService {
|
||||
create(createFoodDto: CreateFoodDto) {
|
||||
return 'This action adds a new food';
|
||||
}
|
||||
|
||||
findAll() {
|
||||
return `This action returns all foods`;
|
||||
}
|
||||
|
||||
findOne(id: number) {
|
||||
return `This action returns a #${id} food`;
|
||||
}
|
||||
|
||||
update(id: number, updateFoodDto: UpdateFoodDto) {
|
||||
return `This action updates a #${id} food`;
|
||||
}
|
||||
|
||||
remove(id: number) {
|
||||
return `This action removes a #${id} food`;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user