public int CheckUsername(string tenDangNhap) { TaiKhoan_DAO user_DAO = new TaiKhoan_DAO(); if (user_DAO.CheckUsername(tenDangNhap) == 1) { return(1); } return(0); }