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("操作成功。")); }
public void UpdateForm(CommConfigEntity userEntity) { service.Update(userEntity); }