Esempio n. 1
0
        public async Task <IActionResult> GetProductImageById(int productId, int imageId)
        {
            var product = await _manageProductService.GetProductImageById(productId, imageId);

            if (product == null)
            {
                return(BadRequest("Can not found product"));
            }
            return(Ok(product));
        }