AccountManagement.Accounts.Api.Controllers.AccountsController.Account C# (CSharp) Метод

Account() приватный Метод

private Account ( string accountId ) : AccountRepresentation
accountId string
Результат AccountRepresentation
        public AccountRepresentation Account(string accountId)
        {
            // canned data.. for now
            return new AccountRepresentation
            {
                Href = AccountsBaseUrl + "accounts/" + accountId,
                Rel = "self",
                AccountId = accountId,
                Name = "Account_" + accountId,
                Links = new List<Link>
                {
                    new Link
                    {
                        Href = AccountsBaseUrl + "accounts",
                        Rel = "collection", 
                    },
                    new Link
                    {
                        Href = AccountsBaseUrl + "accounts/" + accountId + "/followers",
                        Rel = "followers", 
                    },
                    new Link
                    {
                        Href = AccountsBaseUrl + "accounts/" + accountId + "/following",
                        Rel = "following",
                    },
                    new Link
                    {
                        Href = AccountsBaseUrl + "accounts/" + accountId + "/blurbs",
                        Rel = "blurbs",
                    }
                }
            };
        }
AccountsController