Example #1
0
        // GET: api/RecipeIngredients
        public IHttpActionResult GetRecipeIngredients()
        {
            var recipes = _recipeIngredientService.GetAll();

            var recipeModels = ModelFactory.Create(recipes);

            return(Ok(recipeModels));
        }
 public ActionResult Index()
 {
     return(View(_recipeIngredientService.GetAll()));
 }