public ActionResult Destroy(int id) { repository.Delete<Account>(id); return RedirectToAction("Index"); }