Agliullov D. A. Lab Work 5 Base #13

Closed
d.agliullov wants to merge 28 commits from Lab5_Base into Lab4_Base
Showing only changes of commit c77c0dfae6 - Show all commits

View File

@ -67,7 +67,7 @@ namespace ConfectioneryListImplement
public ClientViewModel? Insert(ClientBindingModel model)
{
model.Id = 1;
foreach (var client in _source.Components)
foreach (var client in _source.Clients)
{
if (model.Id <= client.Id)
{