示例#1
0
        public static ProductAggregate.ProductOption GetProductOption()
        {
            var productOption = new ProductAggregate.ProductOption()
            {
                Name        = "Colour",
                Description = "Blue"
            };

            return(productOption);
        }
 public ProductAggregate.ProductOption Update(ProductAggregate.ProductOption productOption)
 {
     productOption.Description = this.Description;
     productOption.Name        = this.Name;
     return(productOption);
 }