/**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function IndexAction()
 {
     $this->title = Input::get('title');
     $this->status = Input::get('status');
     $this->banner = Banner::select('id', 'title', 'image', 'status')->where('title', 'like', '%' . $this->title . '%')->where('status', 'like', '%' . $this->status . '%')->paginate(5);
     return view('admin.banner.banner_list', ['banner' => $this->banner]);
 }
 /**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function IndexAction()
 {
     $menu = $this->menu;
     $site_infos = $this->site_infos;
     $destination = $this->destination;
     $sp_package = $this->special_package();
     $banner = Banner::select('title', 'image', 'short_description')->where('status', 'Active')->get();
     return view('front.home.home', compact('site_infos', 'destination', 'menu', 'banner', 'sp_package'));
 }