public ActionResult DeleteCategory(int id) { var result = danhMucDAO.DeleteProductCategory(id); var status = "Xóa Thất Bại"; if (result == true) { status = "Xóa Thành Công"; } return(Json(new { Result = result, message = status }, JsonRequestBehavior.AllowGet)); }