app/Http/Controllers/Member/AccountController.php
/**
     * Mark the account as inactive
     *
     * @param $id
     * @return AccountResource
     */
Mark the account as inactive
@param $id
@return AccountResource
Mark the account as inactive @param $id @return AccountResource
public function inactive($id)
    {
        try {
            $account = AccountServices::inactiveAccount($id);
            return new AccountResource($account);
        } catch (Throwable $exception) {
            return Helper::exceptionJSON($exception, 422, "deactivate");
        }
    }
public function inactive ( $ id ) { try { $ account = AccountServices :: inactiveAccount ( $ id ) ; return new AccountResource ( $ account ) ; } catch ( Throwable $ exception ) { return Helper :: exceptionJSON ( $ exception , 422 , " deactivate " ) ; } }
Mark the account as inactive
 @param $id
 @return AccountResource
Mark the account as inactive @param $id @return AccountResource