예제 #1
0
        public ActionResult <Recipe> Add(Recipe recipe)
        {
            Recipe newRecipe = recipeDAO.NewRecipe(recipe);

            return(Created($"/{newRecipe.RecipeId}", newRecipe));
        }