public function retry($id)
    {
        if ($this->service->retry($id)) {
            return back()->with('message', 'The job was successfully added back into the queue.');
        }

        return back()->withErrors('Failed to retry the job');
    }
public function retry($id)
    {
        if ($this->service->retry($id)) {
            return back()->with('message', 'The job was successfully added back into the queue.');
        }

        return back()->withErrors('Failed to retry the job');
    }
public function retry ( $ id ) { if ( $ this -> service -> retry ( $ id ) ) { return back ( ) -> with ( 'message' , 'The job was successfully added back into the queue.' ) ; } return back ( ) -> withErrors ( 'Failed to retry the job' ) ; }
Retry the job

@param  int $id

@return Response
Retry the job