using LawFirmListImplement.Models; namespace LawFirmListImplement { public class DataListSingleton { private static DataListSingleton? _instance; public List Blanks { get; set; } public List Orders { get; set; } public List Documents { get; set; } public List Clients { get; set; } private DataListSingleton() { Blanks = new List(); Orders = new List(); Documents = new List(); Clients = new List(); } public static DataListSingleton GetInstance() { if (_instance == null) { _instance = new DataListSingleton(); } return _instance; } } }