Merge branch 'LabWork03_Base' into LabWork04_Base

This commit is contained in:
Safgerd 2023-04-09 21:29:51 +04:00
commit f77d3f66cc

View File

@ -10,6 +10,7 @@ using System.Reflection.Metadata;
using System.Text;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using System.Xml.Linq;
namespace AutomobilePlantDatabaseImplement.Implements
{
@ -100,6 +101,7 @@ namespace AutomobilePlantDatabaseImplement.Implements
}
car.Update(model);
car.UpdateComponents(context, model);
context.SaveChanges();
context.Database.CommitTransaction();