all(); $listing_category = ListingCategoryAction::run($action, $listing_category, $request); $data = new ListingCategoryResource($listing_category); return $this->response->message(trans("messages.success.{$action}", ['Module' => trans('property::listing_category.name')])) ->code(204) ->data(compact('data')) ->status('success') ->url(guard_url('property/listing_category/' . $listing_category->getRouteKey())) ->redirect(); } catch (Exception $e) { return $this->response->message($e->getMessage()) ->code(400) ->status('error') ->url(guard_url('property/listing_category/' . $listing_category->getRouteKey())) ->redirect(); } } public function notify(){ } }