Esempio n. 1
0
        public async Task <IActionResult> Index()
        {
            var friends = await _socialService.GetFriendsFromUserAsync(await GetAuthenticatedUserAccount());

            return(Ok(new { Friends = friends.Select(ApplicationUserViewModel.FromEntity) }));
        }