Exemple #1
0
        public static void SyncUsers(SmartBox.Console.Bo.AppCenter.AppCenterBO bo, OutsideWS.WebService ws)
        {
            IList <SMC_User> users = bo.GetNeedSyncSMC_Users();

            OutsideWS.SMC_User[] _users = new OutsideWS.SMC_User[users.Count];
            for (int i = 0; i < users.Count; ++i)
            {
                _users[i] = CopySMC_User(users[i]);
            }
            ws.SMC_UserSync(_users.ToArray());
        }