public ProductsViewModel() { ProductModel pm = new ProductModel(); DataTable dt = pm.All(); Products = pm.GiveCollection(dt); }