private void InitDescription(BegemotProduct product)
 {
     var description = product.GetDescription();
     txtDescription.Text = description;
 }
예제 #2
0
        public static Product FromBegemotProduct(BegemotProduct begemotProduct)
        {
            var product = new Product();
            product.Article = begemotProduct.Article;
            product.Title = begemotProduct.GetClearTitle();

            product.Description = begemotProduct.GetDescription();
            product.Price = begemotProduct.RetailPrice;
            begemotProduct.GetImagePath();

            product.Category = ProductCategory.FromBegemotProduct(begemotProduct);

            product.Active = true;

            return product;
        }