diff --git a/ConfectioneryDatabaseImplement/PastryStorage.cs b/ConfectioneryDatabaseImplement/PastryStorage.cs index 90ce3b6..b5a60b0 100644 --- a/ConfectioneryDatabaseImplement/PastryStorage.cs +++ b/ConfectioneryDatabaseImplement/PastryStorage.cs @@ -89,7 +89,6 @@ namespace ConfectioneryDatabaseImplement.Implements return null; } pastry.Update(model); - context.Update(pastry); context.SaveChanges(); pastry.UpdateComponents(context, model); transaction.Commit();