diff --git a/ConfectionaryListImplement/ClientStorage.cs b/ConfectionaryListImplement/ClientStorage.cs index 52497c0..7a609c9 100644 --- a/ConfectionaryListImplement/ClientStorage.cs +++ b/ConfectionaryListImplement/ClientStorage.cs @@ -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) {