public void Startup() { ingredientList.Ingredients = StartupQueries.GetIngredientList(connectionString); ingredientDropdowns.Add(Ingredient1); ingredientDropdowns.Add(Ingredient2); ingredientDropdowns.Add(Ingredient3); ingredientDropdowns.Add(Ingredient4); ingredientDropdowns.Add(Ingredient5); ingredientDropdowns.Add(Ingredient6); ingredientDropdowns.Add(Ingredient7); InitializeIngredientsList(); }
public void GetIngredients(string connectionString) { Ingredients = StartupQueries.GetIngredientList(connectionString); }