всё ещё нормально не работает
This commit is contained in:
parent
0626e3d50a
commit
fe67f3f997
@ -96,11 +96,11 @@ namespace ComputersShopFileImplement.Models
|
|||||||
public XElement GetXElement => new("Shop",
|
public XElement GetXElement => new("Shop",
|
||||||
new XAttribute("Id", Id),
|
new XAttribute("Id", Id),
|
||||||
new XElement("ShopName", ShopName),
|
new XElement("ShopName", ShopName),
|
||||||
new XElement("Address", ShopAddress),
|
new XElement("ShopAddress", ShopAddress),
|
||||||
new XElement("DateOpening", DateOpening.ToString()),
|
new XElement("DateOpening", DateOpening.ToString()),
|
||||||
new XElement("Capacity", Capacity.ToString()),
|
new XElement("Capacity", Capacity.ToString()),
|
||||||
new XElement("Documents", ComputersCount.Select(x =>
|
new XElement("Сomputers", ComputersCount.Select(x =>
|
||||||
new XElement("Document",
|
new XElement("Сomputer",
|
||||||
new XElement("Key", x.Key),
|
new XElement("Key", x.Key),
|
||||||
new XElement("Value", x.Value)))
|
new XElement("Value", x.Value)))
|
||||||
.ToArray()));
|
.ToArray()));
|
||||||
|
Loading…
Reference in New Issue
Block a user