2024-04-27 15:04:24 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
|
|
|
|
use App\Http\Requests\StoreTaskRequest;
|
|
|
|
use App\Http\Requests\UpdateTaskRequest;
|
2024-05-02 10:06:39 +03:00
|
|
|
use App\Models\Label;
|
2024-04-27 15:04:24 +03:00
|
|
|
use App\Models\Task;
|
|
|
|
|
|
|
|
class TaskController extends Controller
|
|
|
|
{
|
|
|
|
public function index()
|
|
|
|
{
|
2024-05-02 10:06:39 +03:00
|
|
|
$label = Label::all();
|
|
|
|
return view('admin.tasks.index', compact('label'));
|
2024-04-27 15:04:24 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Show the form for creating a new resource.
|
|
|
|
*/
|
|
|
|
public function create()
|
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Store a newly created resource in storage.
|
|
|
|
*/
|
|
|
|
public function store(StoreTaskRequest $request)
|
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Display the specified resource.
|
|
|
|
*/
|
|
|
|
public function show(Task $task)
|
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Show the form for editing the specified resource.
|
|
|
|
*/
|
|
|
|
public function edit(Task $task)
|
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Update the specified resource in storage.
|
|
|
|
*/
|
|
|
|
public function update(UpdateTaskRequest $request, Task $task)
|
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Remove the specified resource from storage.
|
|
|
|
*/
|
|
|
|
public function destroy(Task $task)
|
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
}
|