示例#1
0
 public void SubmitForm(CommConfigEntity userEntity, string keyValue)
 {
     if (!string.IsNullOrEmpty(keyValue))
     {
         userEntity.Modify(keyValue);
     }
     else
     {
         userEntity.Create();
     }
     service.SubmitForm(userEntity, keyValue);
 }
 public ActionResult SubmitForm(CommConfigEntity commEntity, string keyValue)
 {
     configApp.SubmitForm(commEntity, keyValue);
     return(Success("操作成功。"));
 }
示例#3
0
 public void UpdateForm(CommConfigEntity userEntity)
 {
     service.Update(userEntity);
 }