/** * Show the form for creating a new resource. * * @return Response */ public function create() { $hotel = Hoteluris::lists('nume', 'id'); return view('administrare.pages.ofertestatice.create')->with('hoteluri', $hotel); }
/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy($id) { HoteluriImg::DeleteImg($id); Hoteluris::destroy($id); return \Redirect::back(); }