Exemplo n.º 1
0
        public async Task <GetTrackedByUsersOutput> GetTrackedByUsers(TargetUserInput input)
        {
            var trackedByUsers = await _trackManager
                                 .GetTrackedByUsersAsync(input.TargetUserId)
                                 .ProjectTo <UserListDto>()
                                 .ToListAsync();

            return(new GetTrackedByUsersOutput
            {
                TrackedByUsers = trackedByUsers
            });
        }