예제 #1
0
 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));
 }