public ActionResult GetListStudentByLecture(int useid = -1) { var dao1 = new StudentDAO(); List <Student> x = dao1.FiltStudent(useid); return(Json(x.Select(i => new { ID = i.ID, Name = i.Name, Born = i.Born.ToShortDateString(), Address = i.Address, Position = i.Position, Mobile = i.Mobile, Email = i.Email, Active = i.Active, Password = i.Password, UserName = i.UserName, Status = i.Status, CreateDate = i.CreateDate, CreateBy = i.CreateBy, IDClass = i.IDClass, IDLecturer = i.IDLecturer, Gender = i.Gender, CMND = i.CMND }), JsonRequestBehavior.AllowGet)); }