public DesignTimeProductSelectionViewModel()
 {
     ViewData = new ProductSelectionViewData();
     var products = new ObservableCollection<ProductListItemViewData>();
     products.Add(new ProductListItemViewData()
     {
         ProductID = 1,
         ProductName = "Shampoo",
         Price = 24.50m,
         CategoryName = "Accessories",
         Description = "Shampoo for the hair",
         SupplierName = "John Doe"
     });
     products.Add(new ProductListItemViewData()
     {
         ProductID = 2,
         ProductName = "Shampoo2",
         Price = 24.50m,
         CategoryName = "Accessories",
         Description = "Shampoo for the hair",
         SupplierName = "John Doe"
     });
     products.Add(new ProductListItemViewData()
     {
         ProductID = 3,
         ProductName = "Shampoo3",
         Price = 24.50m,
         CategoryName = "Accessories",
         Description = "Shampoo for the hair",
         SupplierName = "John Doe"
     });
     ((ProductSelectionViewData)ViewData).Products = products;
 }
        public ProductSelectionViewData GetProductSelectionViewData()
        {
            ProductSelectionViewData vd = new ProductSelectionViewData();
            vd.Products = new ObservableCollection<ProductListItemViewData>();

            foreach (var product in proRep.GetListOfProducts())
            {
                vd.Products.Add(new ProductListItemViewData()
                {
                    ProductID = product.ProductID,
                    ProductName = product.ProductName,
                    Description = product.Description,
                    Price = product.Price,  
                });
            }
            return vd;
        }