Beispiel #1
0
        public ActionResult DeleteExp(int id)
        {
            Experiences tx = repos.Find(x => x.ID == id);

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

            repo.TDelete(delete);
            return(RedirectToAction("Index"));
        }