public IActionResult GetRecipesOnPage(int page) { if (page < 1) { return(NotFound("404: Not Found.")); } else { var recipeList = RecipeManager.GetPage(page); return(Ok(recipeList)); } }