Example #1
0
 public List <ProductModel> GetProducts()
 {
     return(UiItems.SelectMany(item => item).ToList());
 }
Example #2
0
 public ProductModel GetProduct(int index)
 {
     return(UiItems.SelectMany(item => item).ToList()[index]);
 }
Example #3
0
 public int ProductsCount()
 {
     return(UiItems.SelectMany(item => item).Count());
 }