public Result InsertSolderingInfo(tblSolderingOthers oSolderList) { try { IProduction iProductionInsert = new WCMS_DAL_Production(); using ( var transaction = new TransactionScope(TransactionScopeOption.Required, ApplicationState.TransactionOptions)) { var result = new Result { IsSuccess = iProductionInsert.InsertSolderingInfo(oSolderList) }; if (result.IsSuccess) { transaction.Complete(); } return(result); } } catch (Exception ex) { throw ex; } }