Пример #1
0
 internal static WorkItemVerificationResult VerifyAssignation(WorkItem task)
 {
     if (task.IsUnassigned())
         return new WorkItemVerificationResult
         {
             Result = VerificationResult.Warning,
             Messages = new List<string>(1) { Messages.TaskIsNotAssigned() },
         };
     return new WorkItemVerificationResult { Result = VerificationResult.Ok };
 }