// 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()); } }
// GET: Login public ActionResult selectuser(string User_ID, string pwd) { UserInfoDAC dac = new UserInfoDAC(); return(View(dac.GetLoginInfo(User_ID, pwd))); }
/// <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)); }