Exemplo n.º 1
0
        // GET: Login
        public ActionResult Login(string User_ID, string pwd)
        {
            if (!string.IsNullOrEmpty(User_ID))
            {
                UserInfoDAC dac = new UserInfoDAC();

                return(View(dac.GetLoginInfo(User_ID, pwd)));
            }
            else
            {
                return(View());
            }
        }
Exemplo n.º 2
0
        // GET: Login
        public ActionResult selectuser(string User_ID, string pwd)
        {
            UserInfoDAC dac = new UserInfoDAC();

            return(View(dac.GetLoginInfo(User_ID, pwd)));
        }
Exemplo n.º 3
0
 /// <summary>
 /// POP 로그인하기 return null : 실패 x : 성공  => User_Name, User_Type 리턴
 /// </summary>
 /// <param name="userID"></param>
 /// <param name="userPassword"></param>
 /// <returns></returns>
 public UserInfoVO GetLoginInfo(string userID, string userPassword)
 {
     return(dac.GetLoginInfo(userID, userPassword));
 }