app/Http/Controllers/NoteController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\Note  $note
     * @return \Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy(Note $note)
    {
        $note->delete();
        return response(null, Response::HTTP_NO_CONTENT);
    }
public function destroy ( Note $ note ) { $ note -> delete ( ) ; return response ( null , Response :: HTTP_NO_CONTENT ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .