public int userLogin(User user) { int loginState = 0; using (UsersDataAccess usersDataAccess = new UsersDataAccess()) { loginState = usersDataAccess.userLogin(user); } return(loginState); }
public int userLogin(User user) { int loginState = 0; using (UsersDataAccess usersDataAccess = new UsersDataAccess()) { loginState = usersDataAccess.userLogin(user); } return(loginState); }