Exemple #1
0
 public void SubmitForm(UserInvestEntity entity, string keyValue)
 {
     if (!string.IsNullOrEmpty(keyValue))
     {
         entity.Modify(keyValue);
         service.Update(entity);
     }
     else
     {
         entity.Create();
         service.Insert(entity);
     }
 }
Exemple #2
0
 public void Delete(UserInvestEntity entity)
 {
     service.Delete(entity);
 }