forked from eatvio/eatvio-infra
04 10 2023 snapshot
This commit is contained in:
65
app/Http/Controllers/ProductNutritionalValueController.php
Normal file
65
app/Http/Controllers/ProductNutritionalValueController.php
Normal file
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Models\ProductNutritionalValue;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class ProductNutritionalValueController extends Controller
|
||||
{
|
||||
/**
|
||||
* Display a listing of the resource.
|
||||
*
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
return view('product_nutritional/index');
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for creating a new resource.
|
||||
*
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function create()
|
||||
{
|
||||
return view('product_nutritional/create');
|
||||
}
|
||||
|
||||
/**
|
||||
* Display the specified resource.
|
||||
*
|
||||
* @param \App\Models\ProductNutritionalValue $productNutritionalValue
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function show(ProductNutritionalValue $productNutritionalValue)
|
||||
{
|
||||
return view(
|
||||
'product_nutritional/show',
|
||||
['productNutritionalValue' => $productNutritionalValue]
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for editing the specified resource.
|
||||
*
|
||||
* @param \App\Models\ProductNutritionalValue $productNutritionalValue
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function edit(ProductNutritionalValue $productNutritionalValue)
|
||||
{
|
||||
return view('product_nutritional/edit', ['productNutritionalValue' => $productNutritionalValue]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the specified resource from storage.
|
||||
*
|
||||
* @param \App\Models\ProductNutritionalValue $productNutritionalValue
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function destroy(ProductNutritionalValue $productNutritionalValue)
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user