public IActionResult FilterProducts(int?type, int?category) { var products = _productsManager.SearchProducts(type, category); return(Ok(products)); }