Esempio n. 1
0
        public async Task <IActionResult> GetAllExploreUsers(int userId)
        {
            if (userId != int.Parse(User.FindFirst(ClaimTypes.NameIdentifier).Value))
            {
                return(Unauthorized());
            }

            return(Ok(await _friendsService.GetAllExploreUsers(userId)));
        }