Begin work on AuditionEtude controller
This commit is contained in:
parent
385810806a
commit
6c20cde1e0
|
|
@ -0,0 +1,72 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
|
use App\Models\AuditionedEnsemble;
|
||||||
|
use App\Models\AuditionEtude;
|
||||||
|
use App\Models\Instrument;
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
|
||||||
|
class AuditionEtudeController extends Controller
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Display a listing of the resource.
|
||||||
|
*/
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
return view('admin.audition_etude.index');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Show the form for creating a new resource.
|
||||||
|
*/
|
||||||
|
public function create()
|
||||||
|
{
|
||||||
|
$instruments = Instrument::orderBy('score_order')->get();
|
||||||
|
$ensembles = AuditionedEnsemble::all();
|
||||||
|
return view('admin.audition_etude.create', [
|
||||||
|
'instruments' => $instruments,
|
||||||
|
'ensembles' => $ensembles,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Store a newly created resource in storage.
|
||||||
|
*/
|
||||||
|
public function store(Request $request)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Display the specified resource.
|
||||||
|
*/
|
||||||
|
public function show(AuditionEtude $auditionEtude)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Show the form for editing the specified resource.
|
||||||
|
*/
|
||||||
|
public function edit(AuditionEtude $auditionEtude)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Update the specified resource in storage.
|
||||||
|
*/
|
||||||
|
public function update(Request $request, AuditionEtude $auditionEtude)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove the specified resource from storage.
|
||||||
|
*/
|
||||||
|
public function destroy(AuditionEtude $auditionEtude)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
<x-layout.admin>
|
||||||
|
Create Audition Etude
|
||||||
|
</x-layout.admin>
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
<x-layout.admin>
|
||||||
|
Audition Etude Index
|
||||||
|
</x-layout.admin>
|
||||||
Loading…
Reference in New Issue