ApiApp.GetUsersApiKeyController.Get C# (CSharp) Метод

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

private Get ( string username ) : string
username string
Результат string
        public string Get(string username)
        {
            string response = "error: Wrong username";

            var user = UserManager.Get(username);
            if (user != null)
            {
                response = user.Entity.ApiKey;
            }

            return response;
        }
GetUsersApiKeyController