public static PrivilegeContext GetInstance()
        {
            if (_instance == null)
            {
                lock (_syncRoot)
                {
                    if (_instance == null)
                    {
                        _instance = new PrivilegeContext();
                    }
                }
            }

            return(_instance);
        }
        public static PrivilegeContext GetInstance()
        {
            if (_instance == null)
            {
                lock (_syncRoot)
                {
                    if (_instance == null)
                    {
                        _instance = new PrivilegeContext();
                    }
                }
            }

            return _instance;
        }