public ActionResult <IngredientDto> CreateIngredient(int recipeStepId,
                                                             [FromBody] IngredientForCreationDto ingredient)
        {
            if (!_homeBrewRepository.RecipeStepExists(recipeStepId))
            {
                return(NotFound());
            }

            var finalIngredient = _mapper.Map <Entities.Ingredient>(ingredient);

            _homeBrewRepository.AddIngredientForRecipeStep(recipeStepId, finalIngredient);

            _homeBrewRepository.Save();

            var createdIngredientToReturn = _mapper.Map <Models.IngredientDto>(finalIngredient);

            return(CreatedAtRoute(
                       "GetIngredient",
                       new { recipeStepId, id = finalIngredient.Id },
                       createdIngredientToReturn));
        }