예제 #1
0
 public void SubmitCustomerAccountForm(CustomerAccountEntity accountEntity, string keyValue)
 {
     if (!string.IsNullOrEmpty(keyValue))
     {
         accountEntity.Modify(keyValue);
         customerAccountRepository.Update(accountEntity);
     }
     else
     {
         accountEntity.Create();
         customerAccountRepository.Insert(accountEntity);
     }
 }
 public ActionResult SubmitAccountForm(CustomerAccountEntity customerAccountEntity, string keyValue, string F_CustomerId)
 {
     customerApp.SubmitCustomerAccountForm(customerAccountEntity, keyValue);
     return(Success("操作成功。"));
 }