LabWork03_Base: Фиксы

This commit is contained in:
Safgerd 2023-04-09 21:27:20 +04:00
parent ed8a9ee034
commit 3a965ffbe3

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();