Exemple #1
0
        public async Task <IActionResult> GetPropertiesByProductAsync(string key)
        {
            var product = await _service.GetProductByKeyAsync(key);

            if (product != null)
            {
                return(Ok(product.Properties));
            }

            return(NotFound());
        }