diff --git a/PlumbingRepair/PlumbingRepair/FormStore.cs b/PlumbingRepair/PlumbingRepair/FormStore.cs index 55163e6..5a83df6 100644 --- a/PlumbingRepair/PlumbingRepair/FormStore.cs +++ b/PlumbingRepair/PlumbingRepair/FormStore.cs @@ -46,8 +46,9 @@ namespace PlumbingRepair StoreName = NameTextBox.Text, StoreAdress = AdressTextBox.Text, OpeningDate = OpeningDatePicker.Value.Date, - WorkMaxCount = (int)VolumeNumericUpDown.Value - }; + WorkMaxCount = (int)VolumeNumericUpDown.Value, + StoreWorks = _listStores + }; var operationResult = _id.HasValue ? _logic.Update(model) : _logic.Create(model); if (!operationResult) {