доработка

This commit is contained in:
AnnaLioness 2024-02-26 09:00:16 +04:00
parent 279944d062
commit 2c8824c155

View File

@ -33,7 +33,6 @@ namespace AbstractLawFirmFileImplement
Components = LoadData(ComponentFileName, "Component", x => Component.Create(x)!)!;
Documents = LoadData(DocumentFileName, "Document", x => Document.Create(x)!)!;
Orders = LoadData(OrderFileName, "Order", x => Order.Create(x)!)!;
//Orders = new List<Order>();
}
private static List<T>? LoadData<T>(string filename, string xmlNodeName,
Func<XElement, T> selectFunction)