Исправлено обновление значений изделия

This commit is contained in:
Данияр Аглиуллов 2023-02-05 21:13:31 +04:00
parent c03c0457b0
commit a50cce3f83
2 changed files with 1 additions and 10 deletions

View File

@ -1,15 +1,6 @@
using ConfectioneryContracts.BindingModels; using ConfectioneryContracts.BindingModels;
using ConfectioneryContracts.BusinessLogicsContracts; using ConfectioneryContracts.BusinessLogicsContracts;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ConfectioneryView namespace ConfectioneryView
{ {

View File

@ -116,7 +116,7 @@ namespace ConfectioneryView
} }
_logger.LogInformation("Изменение компонента: { ComponentName} - { Count} ", _logger.LogInformation("Изменение компонента: { ComponentName} - { Count} ",
form.ComponentModel.ComponentName, form.Count); form.ComponentModel.ComponentName, form.Count);
_pastryComponents[form.Id] = (form.ComponentModel, form.Count); _pastryComponents[id] = (form.ComponentModel, form.Count);
LoadData(); LoadData();
} }
} }