Exemplo n.º 1
0
 public override IEnumerable <StoreProduct> GetAvailableStoreProducts()
 {
     return(SaleProductFilter.Filter(StoreProducts));
 }
Exemplo n.º 2
0
 public override IEnumerable <StoreProduct> GetAvailableStoreProducts()
 {
     return(HasParent
         ? SaleProductFilter.Filter(Parent.GetAvailableStoreProducts())
         : Enumerable.Empty <StoreProduct>());
 }