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}); }