public static UserAccount System_Login(string userName, string password)
 {
     return(SysDal.Login(userName, password));
 }
Example #2
0
        /// <summary>
        /// 1. 用户登录判断
        /// </summary>
        /// <param name="username">用户名</param>
        /// <param name="password">密  码</param>
        /// <returns>true or false</returns>
        public bool UserLogin(string username, string password)
        {
            bool loginSuccess = systemDal.Login(username, password);

            return(loginSuccess);
        }