Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 43 lines (33 sloc) 651 Bytes
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Repositories\CrudRepository;
use App\Http\Repositories\UsersRepository;
class UsersController extends Controller
{
public function index()
{
$crud = new CrudRepository(new UsersRepository());
return $crud->index();
}
public function create()
{
# code...
}
public function store(Request $request)
{
# code...
}
public function show($id)
{
# code...
}
public function edit(Request $request, $id)
{
# code...
}
public function delete($id)
{
# code...
}
}
You can’t perform that action at this time.