// ham dang nhap public String getusername(string id) { //st_GetidResult user = sdata.st_Getid(id).FirstOrDefault(); // var list=from q in db.Busers.Where(q=>q.USERID==id).FirstOrDefault(); GetIDUserResult user = db.GetIDUser(id).FirstOrDefault(); return(user.USERNAME); }