public IActionResult Delete() { ViewBag.mxrecipes = RecipeData.GetAll(); return(View()); }
//get: Recipe public IActionResult Index() { List <MXRecipe> mxRecipes = new List <MXRecipe>(RecipeData.GetAll()); return(View(mxRecipes)); }