//删除 public IActionResult Del(int id) { _linkRepository.DelLink(id); return(RedirectToAction("Index", "SelectLink")); }