public AdapterViewModel() { IProductAdapter adapter = new ProductAdapter(); var items = adapter.GetProduct(); this.ModelName = items.ModuleName; this.Price = items.Price; this.Warranty = items.Warranty; }