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