/// <summary> /// Create new things /// </summary> /// <param name="lstObjects"></param> /// <param name="identityWorkId"></param> public void Update(List <T> lstObjects, Guid identityWorkId) { using (var scope = new TransactionScope(TransactionScopeAsyncFlowOption.Enabled)) { validator.BeforeUpdate(lstObjects); baseRecordManager.Update(lstObjects, identityWorkId); validator.AfterUpdate(lstObjects); scope.Complete(); } }