public void SubmitForm(SysUser userEntity, SysUserlogon userLogOnEntity, string keyValue) { if (!string.IsNullOrEmpty(keyValue)) { userEntity.Modify(keyValue); } else { userEntity.Create(); } service.SubmitForm(userEntity, userLogOnEntity, keyValue); }