示例#1
0
        public async Task <List <UserProfileDTO> > GetFollowersByUserId(int userId, int count, int offset, bool random)
        {
            var followers = await relationshipManager.GetFollowersByUserId(userId, count, offset, random);

            var followersDTO = mapper.Map <List <Follower>, List <UserProfileDTO> >(followers);

            return(followersDTO);
        }