public ThemeProductViewModel(ThemeProduct themeProduct, Product product)
        {
            this.Guid = themeProduct.Guid;
            this.X = themeProduct.X;
            this.Y = themeProduct.Y;
            this.Qty = themeProduct.Qty;
            this.ProductGuid = themeProduct.ProductGuid;

            this.Product = new ProductViewModel(product, new List<Category>());
        }
 public ThemeProductViewModel(ThemeProduct themeProduct, Product product)
 {
     this.Guid = themeProduct.Guid;
     this.X = themeProduct.X;
     this.Y = themeProduct.Y;
     this.ProductGuid = themeProduct.ProductGuid;
     this.Cost = product.Cost.ToString("C");
     this.Title = product.Title;
     this.ProductId = product.Id;
     this.Description = product.Description;
     this.Qty = themeProduct.Qty;
     this.SeoKeywords = product.Keywords;
     this.Images = product.Images.Select(o => new ProductImageViewModel(o)).ToList();
 }