удален ненужный update
This commit is contained in:
parent
8860c632ee
commit
c892d14158
@ -89,7 +89,6 @@ namespace ConfectioneryDatabaseImplement.Implements
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
pastry.Update(model);
|
pastry.Update(model);
|
||||||
context.Update(pastry);
|
|
||||||
context.SaveChanges();
|
context.SaveChanges();
|
||||||
pastry.UpdateComponents(context, model);
|
pastry.UpdateComponents(context, model);
|
||||||
transaction.Commit();
|
transaction.Commit();
|
||||||
|
Loading…
Reference in New Issue
Block a user