public async Task <IActionResult> Index(string busca, string id)
        {
            var accountLogada = await _accountApi.FindByUserNameAsync(_userName);

            var list = await _accountApi.GetPostByAccountAsync(accountLogada.ID);

            foreach (var item in accountLogada.IDs_Seguindo)
            {
                var listPostSeguindo = await _accountApi.GetPostByAccountAsync(item.ID);

                list.AddRange(listPostSeguindo);
            }

            var listSorted = list.OrderByDescending(x => x.DataPostagem).ToList();

            accountLogada.IDs_Postagens = listSorted;

            if (!String.IsNullOrEmpty(busca))
            {
                var buscaResponse = await _accountApi.GetFindAccountsAsync(busca);

                accountLogada.Accounts_Busca.AddRange(buscaResponse);
            }

            if (!string.IsNullOrWhiteSpace(id))
            {
                var accountAlguem = await _accountApi.FindByIDAsync(id);


                accountAlguem.IDs_Seguidores.Add(new AccountSimplesResponse
                {
                    ID       = accountLogada.ID,
                    Nome     = accountLogada.Nome,
                    UserName = accountLogada.UserName
                });

                accountLogada.IDs_Seguindo.Add(new AccountSimplesResponse
                {
                    ID       = accountAlguem.ID,
                    Nome     = accountAlguem.Nome,
                    UserName = accountAlguem.UserName
                });

                await _accountApi.UpdateAccountAsync(accountAlguem);

                await _accountApi.UpdateAccountAsync(accountLogada);
            }


            return(View(accountLogada));
        }
        // GET: PerfilController
        public async Task <IActionResult> Index()
        {
            var response = await _accountApi.FindByUserNameAsync(UserName);

            var list = await _accountApi.GetPostByAccountAsync(response.ID);

            var listSorted = list.OrderByDescending(x => x.DataPostagem).ToList();

            response.IDs_Postagens = listSorted;

            return(View(response));
        }