Исправление
This commit is contained in:
parent
57510cd655
commit
a118b8fd98
@ -160,8 +160,11 @@ namespace FurnitureAssemblyDatabaseImplement.Implements
|
||||
return null;
|
||||
}
|
||||
shop.Update(model);
|
||||
context.SaveChanges();
|
||||
shop.UpdateFurnitures(context, model);
|
||||
if (model.Furnitures.Count > 0)
|
||||
{
|
||||
shop.UpdateFurnitures(context, model);
|
||||
}
|
||||
context.SaveChanges();
|
||||
transaction.Commit();
|
||||
return shop.GetViewModel;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user