Пример #1
0
        public virtual int GetProductPackSize()
        {
            if (_productId != null)
            {
                ProductPrice activeprod = _productId.GetActiveProductPrice(DateTime.Now);

                return(activeprod != null ? activeprod.PackSize : 0);
            }
            return(0);
        }