public async Task<ActionResult<Product>> UpdateProduct( Product product)
        {
            

            await _repository.UpdateAsync<Product>(product);

           return product; ;
        }
Example #2
0
 public async Task <bool> UpdateDocumentAsync(int Id, Document document)
 {
     return(await _repository.UpdateAsync(Id, document));
 }