Exemple #1
0
        public void printMealFull(string connection)
        {
            Console.WriteLine(mealName + " " + mealid);
            Console.WriteLine("Recipe Count: " + recipesInMeal.Count);

            CookSmart newCookSmart = new CookSmart();

            for (int i = 0; i < recipesInMeal.Count; i++)
            {
                int recipeID = recipesInMeal[i].getId();
                Console.WriteLine(recipesInMeal[i].getName());
                newCookSmart.AutoCookSmart(connection, userid, recipeID);
            }
        }
Exemple #2
0
        public void cookSmart(string connection, int userid)
        {
            CookSmart cookSmart = new CookSmart();

            cookSmart.startUpCookSmart(connection, userid);
        }