Example #1
0
 /// <summary>
 /// Gets all the showcaseitems by pageSize and page
 /// </summary>
 /// <param name="page"></param>
 /// <param name="pageSize"></param>
 /// <returns></returns>
 public static PagedList <ShowcaseItem> GetCollection(long page, long pageSize)
 {
     return(ShowcaseItem.GetCollection(null, null, null, null, null, null, null, null, null, "price", -1, null, page, pageSize, null));
 }
Example #2
0
 /// <summary>
 /// Gets all the showcase items sorted ASC or DESC and only fine featured or not.
 /// </summary>
 /// <param name="sortDirection"></param>
 /// <param name="onlyFineFeatured"></param>
 /// <returns></returns>
 public static PagedList <ShowcaseItem> GetCollection(int sortDirection, bool?onlyFineFeatured)
 {
     return(ShowcaseItem.GetCollection(null, null, null, null, null, null, null, null, null, null, sortDirection, onlyFineFeatured, null, null, null));
 }