public virtual ActionResult DeleteAssignmentPostUser(long personId, long postId, int postTypeId, long levelId) { try { var data = _personManagementService.DeleteAssignmentPostUser(postId, personId, (PostType)postTypeId, levelId); return(Json(new { IsError = !data.Item1, Message = data.Item2 })); } catch (Exception) { return(Json(new { IsError = true, Message = "خطا در حذف" })); } }