/**
  * Run the database seeds.
  *
  * @return void
  */
 public function run()
 {
     Universite::create(['idUniv' => 1, 'nomUniv' => 'Aix Marseille Université', 'adr1Univ' => 'adresse', 'adr2Univ' => NULL, 'telUniv' => '0411223344', 'mailUniv' => '*****@*****.**', 'photoUniv' => NULL, 'logoUniv' => NULL, 'latUniv' => NULL, 'longUniv' => NULL, 'inseeVille' => 13001]);
     Universite::create(['idUniv' => 2, 'nomUniv' => 'Avignon Université', 'adr1Univ' => 'adresse 2', 'adr2Univ' => NULL, 'telUniv' => '0411223344', 'mailUniv' => '*****@*****.**', 'photoUniv' => NULL, 'logoUniv' => NULL, 'latUniv' => NULL, 'longUniv' => NULL, 'inseeVille' => 84007]);
 }
 public function add(Request $request)
 {
     $universite = Universite::create(['nomUniv' => $request->input('nomUniv'), 'adr1Univ' => $request->input('adr1Univ'), 'adr2Univ' => $request->input('adr2Univ'), 'telUniv' => $request->input('telUniv'), 'mailUniv' => $request->input('mailUniv'), 'photoUniv' => $request->input('photoUniv'), 'logoUniv' => $request->input('logoUniv'), 'latUniv' => $request->input('latUniv'), 'longUniv' => $request->input('longUniv'), 'inseeVille' => $request->input('inseeVille')]);
     $universite->save();
     return redirect()->route('backuniv');
 }