private void AddDocumentReviewQueueItem(User user, Document document, WorkflowItem workflowItem)
        {
            DocumentReviewQueueItem reviewQueueItem = new DocumentReviewQueueItem();

            if (user.UserLevel == (int)UserLevels.TeamManager)
            {
                reviewQueueItem.ForManagement = true;
                reviewQueueItem.ForDirector = false;
                reviewQueueItem.User = null;
            }
            else if (user.UserLevel == (int)UserLevels.ManagementTeamMember)
            {
                reviewQueueItem.ForManagement = false;
                reviewQueueItem.ForDirector = true;
                reviewQueueItem.User = null;
            }
            else
            {
                reviewQueueItem.ForManagement = false;
                reviewQueueItem.ForDirector = false;
                reviewQueueItem.User = _userService.GetUserSuperior(user);
            }

            reviewQueueItem.WorkflowItem = workflowItem;
            document.DocumentReviewQueueItems.Add(reviewQueueItem);
        }
 public void DeleteReviewQueueItem(DocumentReviewQueueItem reviewItem)
 {
     Context.DeleteObject(reviewItem);
 }