AccountManagement.Accounts.Controllers.FollowersController.Index C# (CSharp) Method

Index() private method

private Index ( string accountId ) : FollowersRepresentation
accountId string
return FollowersRepresentation
        public FollowersRepresentation Index(string accountId)
        {
            return new FollowersRepresentation
            {
                Href = AccountsBaseUrl + "accounts/" + accountId + "/followers",
                Rel = "self",
                Links = new List<Link>
                {
                    new Link
                    {
                        Href = AccountsBaseUrl + "accounts/" + accountId + "/followers?pages=2",
                        Rel = "next",
                    },
                },
                followers = GetFollowers(accountId)
            };
        }