public void SubmitAudit() { if (CustomGuerdonSet != null) { CustomGuerdonSet.CHECKSTATE = Convert.ToInt32(CheckStates.Approving).ToString(); CustomGuerdonSet.EDITSTATE = Convert.ToInt32(EditStates.UnActived).ToString(); CustomGuerdonSet.UPDATEDATE = DateTime.Now; CustomGuerdonSet.UPDATEUSERID = SMT.SAAS.Main.CurrentContext.Common.CurrentLoginUserInfo.EmployeeID; client.CustomGuerdonSetUpdateAsync(CustomGuerdonSet, "SubmitAudit"); } }