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