Exemplo n.º 1
0
 public void SubmitForm(BI_ProductInfoEntity entity, string keyValue)
 {
     if (string.IsNullOrWhiteSpace(keyValue))
     {
         entity.Create();
         entity.F_EnabledMark = true;
         infoApp.Insert(entity);
     }
     else
     {
         entity.Modify(keyValue);
         infoApp.Update(entity);
     }
 }
Exemplo n.º 2
0
 public ActionResult SubmitForm(BI_ProductInfoEntity entity, string keyValue)
 {
     app.SubmitForm(entity, keyValue);
     return(Success("操作成功"));
 }