예제 #1
0
        public IActionResult Deleted(int id)
        {
            var clr = _db.GetColor(id);

            // return View(clr);
            _db.Deletes(clr);
            return(RedirectToAction(nameof(Colors)));
        }