public void SubmitForm(MessageEntity userEntity, string keyValue) { if (!string.IsNullOrEmpty(keyValue)) { userEntity.Modify(keyValue); } else { userEntity.CreateSimple(); } service.SubmitForm(userEntity, keyValue); }
public void SubmitForm(MessageEntity userEntity, string keyValue) { if (!string.IsNullOrEmpty(keyValue)) { userEntity.Modify(keyValue); } else { userEntity.CreateSimple(); } service.SubmitForm(userEntity, keyValue); }