Пример #1
0
 public void DelBatchDetail(WarehouseBatchDetail warehouseBatchDetail)
 {
     try
     {
         _warehouseBatchDetail.Delete(warehouseBatchDetail);
     }
     catch (AisinoMesServiceException ex)
     {
         throw ex;
     }
 }
Пример #2
0
        public WarehouseBatchDetail UpdateBatchDetail(WarehouseBatchDetail updateBatchDetail)
        {
            WarehouseBatchDetail returnBatchDetail = null;

            try
            {
                _warehouseBatchDetail.Update(updateBatchDetail);
                returnBatchDetail = updateBatchDetail;
            }
            catch (RepositoryException ex)
            {
                throw ex;
            }
            return(returnBatchDetail);
        }
Пример #3
0
        public WarehouseBatchDetail AddBatchDetail(WarehouseBatchDetail newBatchDetail)
        {
            WarehouseBatchDetail returnBatchDetail = null;

            try
            {
                _warehouseBatchDetail.Add(newBatchDetail);
                returnBatchDetail = newBatchDetail;
            }
            catch (RepositoryException ex)
            {
                throw ex;
            }
            return(returnBatchDetail);
        }