Пример #1
0
    public List <Item> GetAllItemsForGivenCat(string cat)
    {
        int         catID   = EFBroker_Category.GetCategoryList().Where(c => c.CategoryName == cat).Select(x => x.CategoryID).FirstOrDefault();
        List <Item> itemFGC = EFBroker_Item.GetItemsbyCategoryID(catID).ToList();

        return(itemFGC);
    }