public static List <Product> GetAllProducts() { SqlStoredProcedures sqlSP = new SqlStoredProcedures(); return(sqlSP.StoreSelectProducts(-1, null, -1, -1, -1)); }
public static List <Product> GetProducts(int productID, string keyword, int categoryID, decimal minPrice, decimal maxPrice) { SqlStoredProcedures sqlSP = new SqlStoredProcedures(); return(sqlSP.StoreSelectProducts(productID, keyword, categoryID, minPrice, maxPrice)); }