app/Http/Controllers/FrontAgendaController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  int  $id
     * @return \Illuminate\Http\RedirectResponse
     */
Remove the specified resource from storage.
@param  int  $id
@return \Illuminate\Http\RedirectResponse
Remove the specified resource from storage . @param int $id @return \ Illuminate \ Http \ RedirectResponse
public function destroy($id)
    {
        $agenda = AgendaModel::findOrFail($id);
        $agenda->delete();
        flash('Evento excluído com sucesso')->success();
        return  redirect()->route('agenda.index');
    }
public function destroy ( $ id ) { $ agenda = AgendaModel :: findOrFail ( $ id ) ; $ agenda -> delete ( ) ; flash ( 'Evento excluído com sucesso') - >s uccess( ) ; return redirect ( ) -> route ( 'agenda.index' ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .