コード例 #1
0
 public IActionResult Ingredients(List <RecipeIngredientsModel> recipes)
 {
     if (recipes.Count == 0)
     {
         recipes = _recipesService.GetALLIngredients();
     }
     return(View(recipes));
 }