/** * Display a listing of the resource. * * @return Response */ public function index() { $programi = Programi::all(); return view('programet.index', compact('programi')); }