Esempio n. 1
0
        public static void ServerInit()
        {
            ServerConfig.LoadConfig();
            DataBase.DAOManager.Init();
            Services.Hosting.HostWebService();
            CouponManager.InitCouponManager();

            //NissanCouponLibrary.Utils.SMS.SendSMS("0356053721", "Khởi tạo server lúc : " + DateTime.Now);

            (new Task(() => ServerManagerTick())).Start();
        }
Esempio n. 2
0
        public static void ServerInit()
        {
            ServerConfig.LoadConfig();
            DataBase.DAOManager.Init();
            Services.Hosting.HostWebService();
            CouponManager.InitCouponManager();

            NissanCouponLibrary.Utils.Log.LogEvent("ServerInit", "Init at " + DateTime.Now);


            (new Task(() => ServerManagerTick())).Start();
        }