2024-04-27 15:06:00 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
|
|
|
|
use App\Http\Requests\StorelabelRequest;
|
|
|
|
use App\Http\Requests\UpdatelabelRequest;
|
2024-05-02 09:13:05 +03:00
|
|
|
use App\Models\Label;
|
2024-04-27 15:06:00 +03:00
|
|
|
|
|
|
|
class LabelController extends Controller
|
|
|
|
{
|
|
|
|
public function index()
|
|
|
|
{
|
2024-05-02 16:54:51 +03:00
|
|
|
$labels = Label::all();
|
|
|
|
return view('admin.labels.index', compact('labels'));
|
2024-04-27 15:06:00 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
public function create()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
public function store(StorelabelRequest $request)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2024-05-02 09:13:05 +03:00
|
|
|
public function show(Label $label)
|
2024-04-27 15:06:00 +03:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2024-05-02 09:13:05 +03:00
|
|
|
public function edit(Label $label)
|
2024-04-27 15:06:00 +03:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2024-05-02 09:13:05 +03:00
|
|
|
public function update(UpdatelabelRequest $request, Label $label)
|
2024-04-27 15:06:00 +03:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2024-05-02 09:13:05 +03:00
|
|
|
public function destroy(Label $label)
|
2024-04-27 15:06:00 +03:00
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|