Ejemplo n.º 1
0
 public static int GetCountBySearch(
     int siteId                 = -1,
     string zoneIds             = null,
     int publishStatus          = -1,
     int languageId             = -1,
     int manufactureId          = -1,
     int productType            = -1,
     decimal?priceMin           = null,
     decimal?priceMax           = null,
     int position               = -1,
     int showOption             = -1,
     string propertyCondition   = null,
     string productIds          = null,
     string keyword             = null,
     bool searchCode            = false,
     string stateIds            = null,
     ProductSortingEnum orderBy = ProductSortingEnum.Position)
 {
     return(DBProduct.GetCountBySearch(siteId, zoneIds, publishStatus, languageId, manufactureId, productType, priceMin, priceMax, position, showOption, propertyCondition, productIds, keyword, searchCode, stateIds, (int)orderBy));
 }