Пример #1
0
        public Recipe GetRandomRecipe()
        {
            BaBuLogic bl = new BaBuLogic();

            return(bl.GetRandomRecipe());
        }
Пример #2
0
        public bool DeleteItem(FoodComponent item)
        {
            BaBuLogic ul = new BaBuLogic();

            return(ul.DeleteUser(item.ID, item.ItemType));
        }
Пример #3
0
        public FoodComponent GetItem(int ID, ItemType type)
        {
            BaBuLogic bl = new BaBuLogic();

            return(bl.GetItem(ID, type));
        }
Пример #4
0
        public FoodComponent SaveUser(FoodComponent item)
        {
            BaBuLogic bl = new BaBuLogic();

            return(bl.SaveItem(item, item.ItemType));
        }
Пример #5
0
        public FoodComponent[] GetAllItems(ItemType type)
        {
            BaBuLogic bl = new BaBuLogic();

            return(bl.GetItemList(type));
        }