public JsonResult LayThongTinTaiKhoan(int id) { tkB = new TaiKhoanBusiness(); TaiKhoan tk = tkB.TaiKhoan_GetByID(id); return(Json(tk, JsonRequestBehavior.AllowGet)); }
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)); }