/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy($id) { TariImg::DeleteImg($id); Taris::destroy($id); return redirect('admin/tari'); }
public function create() { $tari = Taris::lists('nume', 'id'); $facilitatihotel = Facilitatis::lists('facilitati', 'id'); return view('administrare.pages.hoteluri.create')->with('facilitati', $facilitatihotel)->with('tara', $tari); }
/** * Show the form for creating a new resource. * * @return Response */ public function create() { $tara = Taris::lists('nume', 'id'); $regiune = Regiunis::lists('nume', 'id'); return view('administrare.pages.localitati.create')->with('regiuni', $regiune)->with('tari', $tara); }
/** * Show the form for creating a new resource. * * @return Response */ public function create() { $tara = Taris::lists('nume', 'id'); return view('administrare.pages.regiuni.create')->with('tari', $tara); }