Ejemplo n.º 1
0
        public async Task <IActionResult> Edit([FromForm] ProductEditRequest request)
        {
            var affectedResult = await _manageProductService.edit(request);

            if (affectedResult == 0)
            {
                return(BadRequest());
            }
            return(Ok());
        }