protected function handleColumnUpdates($id, $data)
    {
        $data = $this->handleEditable($data);

        $data = $this->handleFileDelete($data);

        $data = $this->handleFileSort($data);

        if ($this->handleOrderable($id, $data)) {
            return response([
                'status'  => true,
                'message' => trans('admin.update_succeeded'),
            ]);
        }

        return $data;
    }
protected function handleColumnUpdates($id, $data)
    {
        $data = $this->handleEditable($data);

        $data = $this->handleFileDelete($data);

        $data = $this->handleFileSort($data);

        if ($this->handleOrderable($id, $data)) {
            return response([
                'status'  => true,
                'message' => trans('admin.update_succeeded'),
            ]);
        }

        return $data;
    }
protected function handleColumnUpdates ( $ id , $ data ) { $ data = $ this -> handleEditable ( $ data ) ; $ data = $ this -> handleFileDelete ( $ data ) ; $ data = $ this -> handleFileSort ( $ data ) ; if ( $ this -> handleOrderable ( $ id , $ data ) ) { return response ( [ 'status' => true , 'message' => trans ( 'admin.update_succeeded' ) , ] ) ; } return $ data ; }
Handle updates for single column.

@param int   $id
@param array $data

@return array|\Illuminate\Contracts\Routing\ResponseFactory|\Illuminate\Http\Response|Response
Handle updates for single column .