Files
LMS/app/Http/Controllers/Admin/QuestionController.php
T
mirivladandQwen-Coder a34c2e2812 Feat: CRUD вопросов (начало)
✅ QuestionController (resource)
✅ QuestionPolicy
✅ Маршруты: /admin/tests/{test}/questions
✅ Blade-шаблоны: index, create (с JS для динамических ответов)
✅ Поддержка типов: single_choice, multiple_choice, input, matching
✅ Интеграция в show теста

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-26 15:45:14 +08:00

66 lines
1.0 KiB
PHP
Executable File

<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
class QuestionController extends Controller
{
/**
* Display a listing of the resource.
*/
public function index()
{
//
}
/**
* Show the form for creating a new resource.
*/
public function create()
{
//
}
/**
* Store a newly created resource in storage.
*/
public function store(Request $request)
{
//
}
/**
* Display the specified resource.
*/
public function show(string $id)
{
//
}
/**
* Show the form for editing the specified resource.
*/
public function edit(string $id)
{
//
}
/**
* Update the specified resource in storage.
*/
public function update(Request $request, string $id)
{
//
}
/**
* Remove the specified resource from storage.
*/
public function destroy(string $id)
{
//
}
}