app/Http/Controllers/Admin/employmentstatusverificationController.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(EmploymentStatusVerificationValidator $request, $id)
    {
        $data=$request->all();
        $employmentstatusverification=EmploymentStatusVerification::findorFail($id);
        $employmentstatusverification->update($data);
        return redirect()->route('employmentstatusverification.index')->with('success','Employment Status Verification Updated Successfully');
    }
public function update ( EmploymentStatusVerificationValidator $ request , $ id ) { $ data = $ request -> all ( ) ; $ employmentstatusverification = EmploymentStatusVerification :: findorFail ( $ id ) ; $ employmentstatusverification -> update ( $ data ) ; return redirect ( ) -> route ( 'employmentstatusverification.index' ) -> with ( 'success' , 'Employment Status Verification Updated Successfully' ) ; }
Update the specified resource in storage.
Update the specified resource in storage .