// GET: People/Delete public ActionResult Delete(int id) { crudRepo.DeletePerson(id); return(RedirectToAction("Index")); }