Пример #1
0
 public WorkItem AddWorkItemToUser(int workItemId, int userId)
 {
     try
     {
         var workItem = _workItemRepository.AddUserToWorkItem(userId, workItemId);
         return(workItem);
     }
     catch (Exception e)
     {
         throw new Exception(e.Message);
     }
 }