Example #1
0
        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"));
        }