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