/// <summary> /// Get a list of product updates for display to the user interface. /// </summary> /// <returns></returns> public IEnumerable<ProductUpdateViewModel> GetProductUpdates() { if (_productUpdateProvider == null) _productUpdateProvider = new ProductUpdateProvider(); return ProductUpdateAdaptor(_productUpdateProvider.GetProductUpdates()); }
private void Initialize() { _vendorProvider = new VendorProvider(); _productProvider = new ProductProvider(); _productUpdateProvider = new ProductUpdateProvider(); }