app/Http/Controllers/Backend/PackageController.php
/**
     * Update the specified resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  int  $id
     * @return \Illuminate\Http\Response
     */
Update the specified resource in storage.
Update the specified resource in storage .
public function update(Request $request,Package $offer)
    {
        $all = $request->all();
        $all = $offer->update($all);
        return redirect()->route('backend.package.index')->with('message', 'Package Updated Successfully!');
    }
public function update ( Request $ request , Package $ offer ) { $ all = $ request -> all ( ) ; $ all = $ offer -> update ( $ all ) ; return redirect ( ) -> route ( 'backend.package.index' ) -> with ( 'message' , 'Package Updated Successfully!' ) ; }
Update the specified resource in storage.
Update the specified resource in storage .
// $all['image'] = (new SimpleUpload) //     ->file($request->image) //     ->dirName('banners') //     ->deleteIfExists($offer->image) //     ->save();