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