public ActionResult ChangeAmountPayed(ChangeAmountPayedInput input)
        {
            if (!ModelState.IsValid) return View(input);

            dossierService.ChangeAmountPayed(input.Id, input.Amount);
            return Content("ok");
        }
Example #2
0
        public ActionResult ChangeAmountPayed(ChangeAmountPayedInput input)
        {
            if (!ModelState.IsValid)
            {
                return(View(input));
            }

            dossierService.ChangeAmountPayed(input.Id, input.Amount);
            return(Content("ok"));
        }