public ActionResult Edit(Guid id, DepositForm depositForm) { if (!ModelState.IsValid) { return(View(depositForm)); } _depositService.Edit(depositForm.ToDeposit()); return(RedirectToAction("Index", new DepositListFiltersModel().GetRouteValues()).WithSuccess("DepĆ³sito Editado")); }