Exemple #1
0
        public static Dictionary <Store, Product> browseProducts(string username, string productName, string category, string manufacturer, double minPrice, double maxPrice)
        {
            aUser temp = getUser(username);

            if (temp == null)
            {
                return(null);
            }
            return(temp.browseProducts(productName, category, manufacturer, minPrice, maxPrice));
        }
Exemple #2
0
        public static Dictionary <Store, Product> browseProducts(string username, string productName, string manufacturer)
        {
            aUser temp = getUser(username);

            if (temp == null)
            {
                return(null);
            }
            return(temp.browseProducts(productName, manufacturer));
        }