Пример #1
0
 public override ActionResult Edit(EditResellerModel input)
 {
     Model.UpdateFrom(input);
     try
     {
         var saved = _storeFacade.Save(Model);
         AddSaveMessage(saved);
         return(RedirectToAction("List"));
     }
     catch (Exception ex)
     {
         AddError(ex);
         return(View(Model));
     }
 }