Пример #1
0
        public Guid Login(string userName, string password)
        {
            if (string.IsNullOrEmpty(userName))
            {
                throw new ArgumentException();
            }

            return(_networkInterface.Login(userName, password));
        }
Пример #2
0
        public Guid Login(string username, string password)
        {
//            if (string.IsNullOrEmpty(username) || string.IsNullOrEmpty(password))
//            {
//                return Guid.Empty;
//            }

            return(_gameNetworkControl.Login(username, password));
        }