/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $programlist = Program::all(); return view('Program.index', compact('programlist')); }