public function doSaveBanner()
 {
     parse_str(Input::get('data'), $data);
     $isNotValidation = Banner::isNotValid($data);
     if ($isNotValidation) {
         return $isNotValidation;
     }
     $data = Banner::replaceParams($data);
     $uploadFile = Banner::uploadFile();
     if ($uploadFile) {
         $data['path_file'] = $uploadFile;
     }
     Banner::updateOrCreate(['id' => $data['id']], $data);
     Banner::flush();
     return Response::json(array('status' => 'ok', 'ok_messages' => "Баннер сохранен"));
 }