public function sendSuccess()
    {
        $message = trans('Report has been send.');
        app('antares.messages')->add('success', $message);
        if (app('request')->ajax()) {
            return new JsonResponse(['message' => $message], 200);
        }
        return redirect(handles('antares::/'));
    }
public function sendSuccess()
    {
        $message = trans('Report has been send.');
        app('antares.messages')->add('success', $message);
        if (app('request')->ajax()) {
            return new JsonResponse(['message' => $message], 200);
        }
        return redirect(handles('antares::/'));
    }
public function sendSuccess ( ) { $ message = trans ( 'Report has been send.' ) ; app ( 'antares.messages' ) -> add ( 'success' , $ message ) ; if ( app ( 'request' ) -> ajax ( ) ) { return new JsonResponse ( [ 'message' => $ message ] , 200 ) ; } return redirect ( handles ( 'antares::/' ) ) ; }
when delete error log completed successfully

@return \Illuminate\Http\RedirectResponse
when delete error log completed successfully