Mochalov D.V. LabWork02_Hard #6

Closed
b0n3l3sS wants to merge 39 commits from LabWork02_Hard into LabWork01_Hard
2 changed files with 3 additions and 1 deletions
Showing only changes of commit 94dde9c5d9 - Show all commits

View File

@ -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();
}
}

View File

@ -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