using PlumbingRepairListImplement.Models; namespace PlumbingRepairListImplement { internal class DataListSingleton { private static DataListSingleton? _instance; public List Components { get; set; } public List Orders { get; set; } public List Works { get; set; } public List Clients { get; set; } public List Shops { get; set; } private DataListSingleton() { Components = new List(); Orders = new List(); Works = new List(); <<<<<<< HEAD Shops = new List(); ======= Clients = new List(); >>>>>>> lab_5 } public static DataListSingleton GetInstance() { if (_instance == null) { _instance = new DataListSingleton(); } return _instance; } } }