Esempio n. 1
0
        public IActionResult GetRecipe(int id)
        {
            var recipe = RecipeManager.Get(id);

            if (recipe == null)
            {
                return(NotFound("404: Not found."));
            }
            return(Ok(recipe));
        }