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); } }
public void cookSmart(string connection, int userid) { CookSmart cookSmart = new CookSmart(); cookSmart.startUpCookSmart(connection, userid); }