app/Http/Controllers/ComentarioController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\Models\ComentarioModel  $comentarioModel
     * @return \Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy($id)
    {
        $comentario=ComentarioModel::findOrFail($id);
        $comentario->delete();
    }
public function destroy ( $ id ) { $ comentario = ComentarioModel :: findOrFail ( $ id ) ; $ comentario -> delete ( ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .