/// <summary>
 /// Creates a Content Delivery Network service.
 /// </summary>
 /// <param name="cdnService">The <see cref="IContentDeliveryNetworkService"/> service instance.</param>
 /// <param name="service">The service definition.</param>
 /// <returns>
 /// The identifier of the newly created service.
 /// </returns>
 /// <exception cref="ArgumentNullException">If <paramref name="service" /> is <see langword="null" />.</exception>
 /// <exception cref="FlurlHttpException">If the API call returns a bad <see cref="HttpStatusCode" />.</exception>
 public static string CreateService(this IContentDeliveryNetworkService cdnService, ServiceDefinition service)
 {
     return(cdnService.CreateServiceAsync(service).ForceSynchronous());
 }