public ActionResult SkillDelete(int id) { var skill = repo.Find(x => x.ID == id); repo.TDelete(skill); return(RedirectToAction("Index")); }