public function destroy(Vehicle $vehicle)
 {
     if (is_integer($vehicle)) {
         $vehicle = Vehicle::find($vehicle);
     }
     $vehicle->delete();
     Flash::success('Vehicle has been created Deleted!');
     return Redirect::back();
 }
 public function destroy($vehicle)
 {
     $vehicle = Vehicle::find($vehicle);
     $vehicle->delete();
     return response(['data' => true, 'status' => 'success', 'message' => 'successfully deleted']);
 }