public IActionResult GetRecipe(int id) { var recipe = RecipeManager.Get(id); if (recipe == null) { return(NotFound("404: Not found.")); } return(Ok(recipe)); }