app/Http/Controllers/Admin/front/TeamController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\Slide  $slide
     * @return \Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy($id)
    {
        Team::destroy($id);
        session()->flash("msg", "w:تم حذفه  ");
        return redirect(route("teams.index"));
    }
public function destroy ( $ id ) { Team :: destroy ( $ id ) ; session ( ) -> flash ( " msg " , " w:تم حذفه  "); return redirect ( route ( " teams.index " ) ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .