/// <summary>
        /// Creates an Organization on a GitHub Enterprise appliance (must be Site Admin user).
        /// </summary>
        /// <remarks>
        /// https://developer.github.com/v3/enterprise/orgs/#create-an-organization
        /// </remarks>
        /// <param name="newOrganization">A <see cref="NewOrganization"/> instance describing the organization to be created</param>
        /// <returns>The <see cref="Organization"/> created.</returns>
        public Task <Organization> Create(NewOrganization newOrganization)
        {
            Ensure.ArgumentNotNull(newOrganization, "newOrganization");

            var endpoint = ApiUrls.EnterpriseOrganization();

            return(ApiConnection.Post <Organization>(endpoint, newOrganization));
        }
        /// <summary>
        /// Creates an Organization on a GitHub Enterprise appliance (must be Site Admin user).
        /// </summary>
        /// <remarks>
        /// https://developer.github.com/v3/enterprise/orgs/#create-an-organization
        /// </remarks>
        /// <param name="newOrganization">A <see cref="NewOrganization"/> instance describing the organization to be created</param>
        /// <returns>The <see cref="Organization"/> created.</returns>
        public Task<Organization> Create(NewOrganization newOrganization)
        {
            Ensure.ArgumentNotNull(newOrganization, "newOrganization");

            var endpoint = ApiUrls.EnterpriseOrganization();

            return ApiConnection.Post<Organization>(endpoint, newOrganization);
        }
 /// <summary>
 /// Creates an Organization on a GitHub Enterprise appliance (must be Site Admin user).
 /// </summary>
 /// <remarks>
 /// https://developer.github.com/v3/enterprise/orgs/#create-an-organization
 /// </remarks>
 /// <param name="newOrganization">A <see cref="NewOrganization"/> instance describing the organization to be created</param>
 /// <returns>The <see cref="Organization"/> created.</returns>
 public IObservable<Organization> Create(NewOrganization newOrganization)
 {
     return _client.Create(newOrganization).ToObservable();
 }