public Recipe GetRandomRecipe() { BaBuLogic bl = new BaBuLogic(); return(bl.GetRandomRecipe()); }
public bool DeleteItem(FoodComponent item) { BaBuLogic ul = new BaBuLogic(); return(ul.DeleteUser(item.ID, item.ItemType)); }
public FoodComponent GetItem(int ID, ItemType type) { BaBuLogic bl = new BaBuLogic(); return(bl.GetItem(ID, type)); }
public FoodComponent SaveUser(FoodComponent item) { BaBuLogic bl = new BaBuLogic(); return(bl.SaveItem(item, item.ItemType)); }
public FoodComponent[] GetAllItems(ItemType type) { BaBuLogic bl = new BaBuLogic(); return(bl.GetItemList(type)); }