Небольшой дебаг сохранения и пополнения магазина
This commit is contained in:
parent
f20984c4ba
commit
94dde9c5d9
@ -50,6 +50,7 @@ namespace LawFirmView
|
||||
textBoxName.Text = view.Name;
|
||||
textBoxAddress.Text = view.Adress;
|
||||
_shopDocuments = view.ShopDocuments ?? new Dictionary<int, (IDocumentModel, int)>();
|
||||
textBoxMaxCountDocs.Text = view.MaxCountDocuments.ToString();
|
||||
LoadData();
|
||||
}
|
||||
}
|
||||
|
@ -105,7 +105,8 @@ namespace LawFirmBusinessLogic.BusinessLogics
|
||||
Name = shopElement.Name,
|
||||
Adress = shopElement.Adress,
|
||||
OpeningDate = shopElement.OpeningDate,
|
||||
ShopDocuments = shopElement.ShopDocuments
|
||||
ShopDocuments = shopElement.ShopDocuments,
|
||||
MaxCountDocuments = shopElement.MaxCountDocuments
|
||||
});
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user