// deleteChampionshipHandler soft deletes a Championship.
deleteChampionshipHandler soft deletes a Championship.
// deleteChampionshipHandler soft deletes a Championship .
func deleteChampionshipHandler(w http.ResponseWriter, r *http.Request) {
	err := championshipManager.DeleteChampionship(chi.URLParam(r, "championshipID"))
	if err != nil {
		logrus.Errorf("couldn't delete championship, err: %s", err)
		http.Error(w, http.StatusText(http.StatusInternalServerError), http.StatusInternalServerError)
		return
	}
	AddFlashQuick(w, r, "Championship deleted!")
	http.Redirect(w, r, r.Referer(), http.StatusFound)
}
func deleteChampionshipHandler ( w http . ResponseWriter , r * http . Request ) { err := championshipManager . DeleteChampionship ( chi . URLParam ( r , " " ) ) if err != nil { logrus . Errorf ( " " , err ) http . Error ( w , http . StatusText ( http . StatusInternalServerError ) , http . StatusInternalServerError ) return } AddFlashQuick ( w , r , " " ) http . Redirect ( w , r , r . Referer ( ) , http . StatusFound ) }
deleteChampionshipHandler soft deletes a Championship.
deleteChampionshipHandler soft deletes a Championship .