Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <?php
  2.  
  3. namespace App\Http\Controllers;
  4.  
  5. use Illuminate\Http\Request;
  6. use Illuminate\Support\Facades\DB;
  7.  
  8. class artikelcontroller extends Controller
  9. {
  10.  
  11. public function index()
  12. {
  13. $data = DB::table('artikel')->get();
  14. return view('artikel.index',['data'=>$data]);
  15. }
  16.  
  17. public function create()
  18. {
  19. //
  20. }
  21.  
  22. public function store(Request $request)
  23. {
  24. //
  25. }
  26.  
  27. public function show($id)
  28. {
  29. //
  30. }
  31.  
  32. public function edit($id)
  33. {
  34. //
  35. }
  36.  
  37.  
  38. public function update(Request $request, $id)
  39. {
  40. //
  41. }
  42.  
  43. public function destroy($id)
  44. {
  45. //
  46. }
  47. }