private List <string> RecipeNameList() { List <string> recipeNames = new List <string>(); foreach (Recipe recipe in RecipeRepo.All()) { recipeNames.Add(recipe.Name); } return(recipeNames); }