Ekapp/skolehjem/app/Http/Controllers/EventController.php

88 lines
1.6 KiB
PHP
Raw Normal View History

<?php
namespace App\Http\Controllers;
use App\User;
use Illuminate\Http\Request;
class EventController extends Controller
{
/**
* Display a listing of the resource..
*
* @return \Illuminate\Http\Response
*/
public function index(Request $request)
{
$users = User::query()->paginate($request->query("limit", 20));
return view("user.index", [ "users" => $users]);
}
/**
* Show the form for creating a new resource.
*
* @return \Illuminate\Http\Response
*/
public function create()
{
return view("user.create");
}
/**
* Store a newly created resource in storage.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
public function store(Request $request)
{
//
}
/**
* Display the specified resource.
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function show($id)
{
//
}
/**
2020-06-09 08:45:16 +00:00
* Show the form for editing the specified resource.-
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function edit($id)
{
//
}
/**
* Update the specified resource in storage.
*
* @param \Illuminate\Http\Request $request
* @param int $id
* @return \Illuminate\Http\Response
*/
public function update(Request $request, $id)
{
//
}
/**
* Remove the specified resource from storage.
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function destroy($id)
{
//
}
}