예제 #1
0
        public async Task <IActionResult> GetLikeUsers(int likerId)
        {
            var users = await _repo.GetLikeUsers(likerId);

            var userToReturn = _mapper.Map <IEnumerable <UserForListDto> >(users);

            if (userToReturn != null)
            {
                return(Ok(userToReturn));
            }
            return(NoContent());
        }