public Result InsertBomList(BomList bomList) { try { IProduction _IProductionInsert = new WCMS_DAL_Production(); using ( TransactionScope transaction = new TransactionScope(TransactionScopeOption.Required, ApplicationState.TransactionOptions)) { Result _Result = new Result(); _Result.IsSuccess = _IProductionInsert.InsertBomList(bomList); if (_Result.IsSuccess) { transaction.Complete(); } return(_Result); } } catch (Exception ex) { throw ex; } }