コード例 #1
0
        public IActionResult CountryDelete(int id)
        {
            var country = _db.GetCountry(id);

            // return View(country);
            _db.DeleteCountry(country);

            return(RedirectToAction(nameof(Country)));
        }