public void ListProductsByPrice() { var prodByPrice = storage.ProductsSortedByPrice(); IView view = new ConsoleView(prodByPrice); view.RenderView(); }
public void ListProducts() { var prodlist = storage.ProductsSortedByName(); IView view = new ConsoleView(prodlist); view.RenderView(); }
public void ListProductsByPrice() { var prodlist = storage.ProductsSortedByPrice(); IView view = new ConsoleView(prodlist); view.RenderView(); }