public IHttpActionResult Search(SearchProduct searchProduct)
        {
            var products = _productCatalogService.Search(searchProduct);

            return(Ok(new
            {
                data = new
                {
                    products
                }
            }));
        }
 public async Task <IActionResult> Search([FromQuery] ProductsRequestViewModel viewModel)
 => await HandleResultAsync(() => _service.Search(viewModel));