public MessageService(MessageServerConfig cfg, IGridServiceCore messageCore, UserDataBaseService userDataBaseService)
        {
            m_cfg = cfg;
            m_messageCore = messageCore;

            m_userDataBaseService = userDataBaseService;

            //??? 
            UserConfig uc = new UserConfig();
            uc.DatabaseConnect = cfg.DatabaseConnect;
            uc.DatabaseProvider = cfg.DatabaseProvider;
        }
        public MessageService(MessageServerConfig cfg, IGridServiceCore messageCore, UserDataBaseService userDataBaseService)
        {
            m_cfg         = cfg;
            m_messageCore = messageCore;

            m_userDataBaseService = userDataBaseService;

            //???
            UserConfig uc = new UserConfig();

            uc.DatabaseConnect  = cfg.DatabaseConnect;
            uc.DatabaseProvider = cfg.DatabaseProvider;
        }