public ActionResult DeleteCard(int id) { DBmanager dBmanager = new DBmanager(); dBmanager.DeleteCardById(id); return(RedirectToAction("Index")); }