コード例 #1
0
 public virtual ActionResult DeleteAssignmentRole(long userId, long roleId)
 {
     try
     {
         var data = _personManagementService.DeleteAssignmentRole(userId, roleId);
         return(Json(new { isError = !data.Item1, Msg = data.Item2 }));
     }
     catch (Exception)
     {
         return(Json(new { isError = true, Msg = "خطا در حذف" }));
     }
 }