diff --git a/Webshop.Infrastructure/Repositories/ProductRepository.cs b/Webshop.Infrastructure/Repositories/ProductRepository.cs index 4fc5708..709f0ed 100644 --- a/Webshop.Infrastructure/Repositories/ProductRepository.cs +++ b/Webshop.Infrastructure/Repositories/ProductRepository.cs @@ -42,7 +42,7 @@ namespace Webshop.Infrastructure.Repositories public async Task UpdateProductAsync(Product product) { - _context.Products.Update(product); + //_context.Products.Update(product); await _context.SaveChangesAsync(); }