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