public async Task <IActionResult> GetSortedProducts([FromQuery] SortOption sortOption)
        {
            var products = await _manager.GetProductsAsync(sortOption);

            if (products == null)
            {
                var response = "Products";
                if (sortOption == SortOption.Recommended)
                {
                    response += " or shopping history";
                }
                response += " could not be found";
                return(NotFound(new ErrorResponse(404, response)));
            }
            return(Ok(products));
        }