public ActionResult Delete(int id) { using (ContaModel model = new ContaModel()) model.Delete(id); return(RedirectToAction("Index")); }