public ActionResult MethodForm(int id) { RecipeData newData = new RecipeData(); newData.FindRecipe(id); return(View(newData)); }
public ActionResult Details(int id) { RecipeData newRecipe = new RecipeData(); newRecipe.FindRecipe(id); return(View(newRecipe)); }