Example #1
0
        public List <Product> FindProductForCategoryWithSort(string categoryBvin, Catalog.CategorySortOrder sortOrder, bool showUnavailable)
        {
            int temp          = -1;
            int sensibleLimit = 2000;

            return(FindProductForCategoryWithSort(categoryBvin, sortOrder, showUnavailable, 1, sensibleLimit, ref temp));
        }
Example #2
0
        public List <Product> FindProductForCategoryWithSort(string categoryBvin, Catalog.CategorySortOrder sortOrder, bool showUnavailable,
                                                             int pageNumber, int pageSize, ref int rowCount)
        {
            List <Product> result = new List <Product>();

            result = Products.FindByCategoryId(categoryBvin, sortOrder, showUnavailable, pageNumber, pageSize, ref rowCount);
            return(result);
        }