public CatalogPagingFilteringModel() { AvailableSortOptions = new List <SelectListItem>(); AvailableViewModes = new List <SelectListItem>(); PageSizeOptions = new List <SelectListItem>(); PriceRangeFilter = new PriceRangeFilterModel(); SpecificationFilter = new SpecificationFilterModel(); }
public CategoryProductPagingFilteringModel() { PriceRangeFilter = new PriceRangeFilterModel(); BrandRangeFilter = new BrandRangeFilterModel(); CategoryFilterRangeFilter = new CategoryFilterRangeFilterModel(); AvailableSortOptions = new List <SelectListItem>(); AvailableViewModes = new List <SelectListItem>(); OrderBy = ProductSortingType.StockDesc; ViewMode = "grid"; PageSize = 36; //Default PageNumber = 1; //Default From = string.Empty; To = string.Empty; }