示例#1
0
        public void ChangeProductInformation(ProductInformation productInformation)
        {
            ProductInformation = productInformation;

            if (!productInformation.VerifyQuantity())
            {
                Status = ProductStatus.BUY.Name;
            }
        }
示例#2
0
 public bool VerifyQuantity() => ProductInformation.VerifyQuantity();