예제 #1
0
 public List <KeyValuePair <QueueType, string> > GetAllowed(Guid userId)
 {
     return(_userQueryService.GetAllowedQueues(userId)
            .Select(t => new KeyValuePair <QueueType, string>(t, t.GetDescription()))
            .ToList());
 }