Removing update
This commit is contained in:
1 parent
dd0a9a598d
commit
eea7f54ded
2 files changed
-7
No files matched your search
@@ -62,12 +62,6 @@ namespace Microsoft.eShopWeb.Infrastructure.Data
|
||||
|
||||
return entity;
|
||||
}
|
||||
|
||||
public void Update(T entity)
|
||||
{
|
||||
_dbContext.Entry(entity).State = EntityState.Modified;
|
||||
_dbContext.SaveChanges();
|
||||
}
|
||||
|
||||
public async Task UpdateAsync(T entity)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user