예제 #1
0
        public IActionResult SeasonDelete(int id)
        {
            var season = _db.GetSeason(id);

            // return View(season);
            _db.DeleteSeason(season);

            return(RedirectToAction(nameof(GetSeasons)));
        }