Esempio n. 1
0
 public async Task <bool> UpdateProduct(ProductModel product)
 {
     using (_unitOfWork = new UnitOfWorkContext())
     {
         var sel = _unitOfWork.ProductRepository.Update(product.Cast <DomainClasses.Product.Product>());
         return(sel);
     }
 }