public async Task <IActionResult> SearchProductsByIngredientAync(string ingredient)
        {
            _logger.LogInformation(LoggingEvents.GetItem, LoggingMessages.GetAyncFoodProducts);

            if (string.IsNullOrWhiteSpace(ingredient))
            {
                _logger.LogInformation("Bad Input", LoggingMessages.GetAyncFoodProducts);

                return(BadRequest("Input string ingredient is not valid"));
            }

            var foodProducts = await _foodProductService.SearchFoodProducts(ingredient);

            if (!foodProducts.Any())
            {
                return(NotFound());
            }

            return(Ok(foodProducts));
        }