Exemplo n.º 1
0
        public async Task <ActionResult> Update(int id, CategoryDto categoryDto)
        {
            await _categoryService.UpdateAsync(id, categoryDto);

            return(Ok());
        }
Exemplo n.º 2
0
        public async Task <ActionResult> Update(int id, ProductDto productDto)
        {
            await _productService.UpdateAsync(id, productDto);

            return(Ok());
        }