Esempio n. 1
0
        public async Task <IActionResult> GetFollowingListAsync(int userId, int take, int page, [FromQuery] string search)
        {
            var result = await _service.GetFollowingListAsync(userId, take, page, search);

            result.ProfileFollowingsView?.FollowingsList?.ForEach(k =>
            {
                k.IsAmFollowing = true;
            });

            return(Ok(result));
        }