public IEnumerable<Hostname> GetHostnames(string applicationId) { var hostnames = _api.GetHostnames(applicationId); if (hostnames == null) { throw new ApiException(); } return hostnames; }