Exemple #1
0
 public void SubmitForm(InvestConfigEntity entity, string keyValue)
 {
     if (!string.IsNullOrEmpty(keyValue))
     {
         entity.Modify(keyValue);
         service.Update(entity);
     }
     else
     {
         entity.Create();
         service.Insert(entity);
     }
 }
 public ActionResult SubmitForm(InvestConfigEntity investConfigEntity, string keyValue)
 {
     investConfigApp.SubmitForm(investConfigEntity, keyValue);
     return(Success("操作成功。"));
 }
Exemple #3
0
 public void Delete(InvestConfigEntity entity)
 {
     service.Delete(entity);
 }