예제 #1
0
 /**
  * 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');
 }
예제 #2
0
 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);
 }
예제 #3
0
 /**
  * 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);
 }
예제 #4
0
 /**
  * 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);
 }