This commit is contained in:
2025-11-13 08:35:47 +03:30
parent 8c02c80a09
commit 75117b5bd1
7 changed files with 77 additions and 0 deletions
+26
View File
@@ -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`;
}
}