app/Http/Controllers/UploadedTaskController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\Models\UploadedTask  $uploadedTask
     * @return \Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy(UploadedTask $uploadedTask)
    {
        $uploadedTask->delete();
        return "Post approved deleted";
    }
public function destroy ( UploadedTask $ uploadedTask ) { $ uploadedTask -> delete ( ) ; return " Post approved deleted " ; }
Remove the specified resource from storage.
Remove the specified resource from storage .