Пример #1
0
        public async Task <GetTrackingUsersOutput> GetTrackingUsers(TargetUserInput input)
        {
            var trackingUsers = await _trackManager
                                .GetTrackingUsersAsync(input.TargetUserId)
                                .ProjectTo <UserListDto>()
                                .ToListAsync();

            return(new GetTrackingUsersOutput
            {
                TrackingUsers = trackingUsers
            });
        }