//deletes a user from the contact table based on the specified user id public ActionResult DeleteConfirmed(int id) { _contactsService.DeleteContactById(id); return(RedirectToAction("Index")); }