Пример #1
0
 public void SubmitForm(OperationalTaskEntity entity, string keyValue)
 {
     if (!string.IsNullOrEmpty(keyValue))
     {
         entity.Modify(keyValue);
         service.Update(entity);
     }
     else
     {
         entity.Create();
         service.Insert(entity);
     }
 }
Пример #2
0
 public void Delete(OperationalTaskEntity entity)
 {
     service.Delete(entity);
 }