public ActionResult Update(Account account) { if (ModelState.IsValid) { repository.Save(account); return RedirectToAction("Show", account.Id); } return View("Edit", account); }