public IEnumerable <UserDTO> Friends() { var currentUserId = Convert.ToInt32(User.FindFirstValue(ClaimTypes.NameIdentifier)); IEnumerable <UserDTO> friends = _friendRequestService.GetUserFriends(currentUserId); return(friends); }
public IEnumerable <UserDTO> Friends() { var currentUserId = Convert.ToInt32(User.FindFirstValue(ClaimTypes.NameIdentifier)); IEnumerable <UserDTO> friends = _friendRequestService.GetUserFriends(currentUserId); return(friends); }