public void SubmitForm(ViewTaskEntity userEntity, string keyValue) { if (!string.IsNullOrEmpty(keyValue)) { userEntity.Modify(keyValue); } else { userEntity.Create(); } service.SubmitForm(userEntity, keyValue); }
public void UpdateForm(ViewTaskEntity userEntity) { service.Update(userEntity); }