Exemple #1
0
        public async Task <IEnumerable <WorkItemDto> > GetTopFivePriorityItems(int assigneeId)
        {
            var workItems = await _workItemRepository.GetTopFivePriorityItems(assigneeId);

            return(_mapper.Map <IEnumerable <WorkItem>, IEnumerable <WorkItemDto> >(workItems));
        }