/**
  * Display a listing of the properties in category.
  *
  * @return \Illuminate\Http\Response
  */
 public function status(PropertyStatus $type)
 {
     return view('property.index', ["properties" => $type->properties()->orderBy('created_at', 'DESC')->paginate(20), "title" => trans('property.categorylisting', ['name' => $type->name])]);
 }
 public function destroy(PropertyStatus $status)
 {
     $status->delete();
     return redirect()->route("admin.property-status.index")->with("success", trans("realestateadmin::property-status.deleted"));
 }