예제 #1
0
        public Result UpdateQcStatusHistory(List <ProductionMaster> productionList)
        {
            IProduction iProductionSelect = new WCMS_DAL_Production();



            var result = new Result();

            try
            {
                using (
                    var transaction = new TransactionScope(TransactionScopeOption.Required,
                                                           ApplicationState.TransactionOptions))
                {
                    result.IsSuccess = iProductionSelect.UpdateQcStatusHistory(productionList);
                    if (result.IsSuccess)
                    {
                        transaction.Complete();
                    }
                    return(result);
                }
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }