public ActionResult DeleteExp(int id) { Experiences tx = repos.Find(x => x.ID == id); repos.TDelete(tx); return(RedirectToAction("Index")); }
public ActionResult ExperienceDelete(int id) { var delete = repo.Find(x => x.ID == id); repo.TDelete(delete); return(RedirectToAction("Index")); }