Exemplo n.º 1
0
        public static Operator Login(string accountNumber, string loginName, string loginPwd)
        {
            Account ac = AccountsManager.CheckCompanyByaccountNumber(accountNumber);

            if (ac != null)
            {
                return(Provider.Login(ac.AccountId, loginName, loginPwd));
            }
            else
            {
                return(null);
            }
        }