public async Task <List <IngredientDto> > Handle(GetIngredientsQuery request,
                                                             CancellationToken cancellationToken)
            {
                var user = await _userAuth.GetCurrentUser();

                if (user == null)
                {
                    throw new RestException(HttpStatusCode.Unauthorized, new { User = "******" });
                }

                var ingredients = await _ingredient.GetIngredientsByUserId(user.Id);

                return(ingredients);
            }