public void SubmitDetailForm(WFItemDetailEntity itemsDetailEntity, string keyValue) { if (!string.IsNullOrEmpty(keyValue)) { itemsDetailEntity.Modify(keyValue); serviceDetail.Update(itemsDetailEntity); } else { itemsDetailEntity.Create(); serviceDetail.Insert(itemsDetailEntity); } }
public ActionResult SubmitForm(WFItemDetailEntity itemsDetailEntity, string keyValue) { itemsApp.SubmitDetailForm(itemsDetailEntity, keyValue); return(Success("操作成功。")); }