public JsonResult DeleteUserEntitlement(UserEntitlementDTO uTrans) { if (_userSvc.DeleteUserEntitlement(uTrans).IsSuccess) { return(Json(new { status = true, message = "Deleted successfully." }, JsonRequestBehavior.AllowGet)); } return(Json(new { status = false, message = "Delete failed." }, JsonRequestBehavior.AllowGet)); }