фикс
This commit is contained in:
parent
27bd7178b1
commit
2036d05b3a
@ -91,9 +91,12 @@ namespace LawFirmFileImplement.Models
|
|||||||
Adress = model.Adress;
|
Adress = model.Adress;
|
||||||
OpeningDate = model.OpeningDate;
|
OpeningDate = model.OpeningDate;
|
||||||
MaxCountDocuments = model.MaxCountDocuments;
|
MaxCountDocuments = model.MaxCountDocuments;
|
||||||
|
if (model.ShopDocuments.Count > 0)
|
||||||
|
{
|
||||||
Documents = model.ShopDocuments.ToDictionary(x => x.Key, x => x.Value.Item2);
|
Documents = model.ShopDocuments.ToDictionary(x => x.Key, x => x.Value.Item2);
|
||||||
_shopDocuments = null;
|
_shopDocuments = null;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
public ShopViewModel GetViewModel => new()
|
public ShopViewModel GetViewModel => new()
|
||||||
{
|
{
|
||||||
Id = Id,
|
Id = Id,
|
||||||
|
Loading…
Reference in New Issue
Block a user