public async Task <ActionResult <RecipeDto> > UpdateRecipeAsync(int recipeId, RecipeForUpdate recipeForUpdate)
        {
            var recipeFromRepo = await _recipes.GetAsync(recipeId);

            if (recipeFromRepo == null)
            {
                return(NotFound());
            }

            _mapper.Map(recipeForUpdate, recipeFromRepo);

            _recipes.Update(recipeFromRepo);
            await _recipes.SaveAsync();

            return(Ok(_mapper.Map <Recipe>(recipeFromRepo)));
        }