private IQueryable <Litium.Domain.Entities.ProductCatalog.Product> FilterByBrand(IQueryable <Litium.Domain.Entities.ProductCatalog.Product> products, BrandCommandDescriptor descriptor)
 {
     return(products.Where(x => x.ProductProperty != null && !String.IsNullOrWhiteSpace(x.ProductProperty.Brend) &&
                           x.ProductProperty.Brend.Equals(descriptor.Brand, StringComparison.InvariantCultureIgnoreCase) && x.Published));
 }
 private IQueryable<Litium.Domain.Entities.ProductCatalog.Product> FilterByBrand(IQueryable<Litium.Domain.Entities.ProductCatalog.Product> products, BrandCommandDescriptor descriptor)
 {
     return products.Where(x => x.ProductProperty != null && !String.IsNullOrWhiteSpace(x.ProductProperty.Brend) &&
                                x.ProductProperty.Brend.Equals(descriptor.Brand, StringComparison.InvariantCultureIgnoreCase) && x.Published);
 }