public bool Login(_Member member) { var status = CouponDB.CheckLogin(member); if (status == true) { return(status); } return(status); }
public string checkLogin(MemberTable member) { var account = member.Email; var password = member.password; var result = CouponDB.CheckLogin(account, password); if (result == "y") { return("y"); } return(null); }