public async Task <IActionResult> GetProducts(int categoryId) { var products = await _productProcessor.GetProductsAsync(categoryId); return(new ObjectResult(_serializer.Serialize(products))); }