public function getcloseToMe(Request $request, PublicServiceRepository $gestion, $city)
 {
     $eventosCloseProv = null;
     $eventosDepCloseProv = null;
     //Existe una categoria que es independiente para crear eventos
     $eventosClose = $gestion->getEventsIndepCity($city, 100, 1);
     //$eventosClose = $gestion->getEventsIndepCity(ciudad,take,pagination);
     //esos son eventos y promociones de los establecimientos
     $eventosDepClose = $gestion->getEventsDepCity($city, 100, 1);
     //$eventosClose = $gestion->getEventsIndepCity(ciudad,take,pagination);
     $PromoDepClose = $gestion->getPromoDepCity($city, 100, 1);
     //$eventosClose = $gestion->getEventsIndepCity(ciudad,take,pagination);
     $AtraccionesClose = $gestion->getAtraccionesByCity($city, 100, 1);
     if ($eventosClose != null) {
         if (Input::get('page') > $eventosClose->currentPage()) {
             $eventosCloseProv = $gestion->getEventsIndepProvince($city, Input::get('page'), $eventosClose->currentPage(), 100, 1);
         }
         if ($eventosDepClose != null) {
             if (Input::get('page') > $eventosDepClose->currentPage()) {
                 $eventosDepCloseProv = $gestion->getEventsDepProvince($city, Input::get('page'), $eventosDepClose->currentPage(), 100, 1);
             }
         }
     } else {
         $eventosCloseProv = $gestion->getEventsIndepProvince($city, null, null, 100, 1);
     }
     $view = View::make('public_page.partials.closeToMe', array('eventosClose' => $eventosClose, 'eventosCloseProv' => $eventosCloseProv, 'eventosDepClose' => $eventosDepClose, 'eventosDepCloseProv' => $eventosDepCloseProv, 'PromoDepClose' => $PromoDepClose, 'AtraccionesClose' => $AtraccionesClose));
     if ($request->ajax()) {
         $sections = $view->rendersections();
         return Response::json($sections);
     }
 }