Exemple #1
0
 public ActionResult Edit(PaymentOrderEditInput input)
 {
     if (!ModelState.IsValid)
     {
         return(View(input));
     }
     s.Save(ve.BuildEntity(input, input.Id));
     return(Json(new{ input.Id }));
 }
 public ActionResult Edit(PaymentOrderEditInput input)
 {
     if (!ModelState.IsValid) return View(input);
     s.Save(ve.BuildEntity(input, input.Id));
     return Json(new{input.Id});
 }