public JsonResult LayThongTinTaiKhoan(int id)
        {
            tkB = new TaiKhoanBusiness();
            TaiKhoan tk = tkB.TaiKhoan_GetByID(id);

            return(Json(tk, JsonRequestBehavior.AllowGet));
        }
示例#2
0
        public JsonResult LayThongTinTaikhoan(int idtk)
        {
            tkB = new TaiKhoanBusiness();
            TaiKhoan tk   = tkB.TaiKhoan_GetByID(idtk);
            var      data = JsonConvert.SerializeObject(tk, Formatting.Indented);

            return(Json(data, JsonRequestBehavior.AllowGet));
        }