public IActionResult AddIngredient(string Ingredient_name, string Ingredient_unit) { Unit unit = unitService.FindUnitByName(Ingredient_unit); ingredientService.Addingredient(Ingredient_name, unit); return(RedirectToAction(nameof(RecipeController.AddRecipe), "Recipe")); }