app/Http/Controllers/PekerjaanSelesaiController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\Models\PekerjaanSelesai  $pekerjaanSelesai
     * @return \Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy(PekerjaanSelesai $selesai)
    {
        $selesai->delete();
        return redirect()->back()->with('success', 'Konfirmasi Pekerjaan Selesai berhasil dihapus');
    }
public function destroy ( PekerjaanSelesai $ selesai ) { $ selesai -> delete ( ) ; return redirect ( ) -> back ( ) -> with ( 'success' , 'Konfirmasi Pekerjaan Selesai berhasil dihapus' ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .