Пример #1
0
 /**
  * @param int $profile_id
  *
  * @return \Illuminate\Http\RedirectResponse
  */
 public function getDeleteStandingsProfile(int $profile_id)
 {
     $standing = StandingsProfile::findOrFail($profile_id);
     $standing->delete();
     return redirect()->back()->with('success', 'Standings profile deleted.');
 }