/// <summary>
 /// Gets the specified flavor.
 /// </summary>
 /// <param name="cdnService">The <see cref="IContentDeliveryNetworkService"/> service instance.</param>
 /// <param name="flavorId">The flavor identifier.</param>
 /// <exception cref="ArgumentNullException">If <paramref name="flavorId"/> is <see langword="null"/> or empty.</exception>
 /// <exception cref="FlurlHttpException">If the API call returns a bad <see cref="HttpStatusCode"/>.</exception>
 /// <returns>The flavor associated with the specified identifer.</returns>
 public static Flavor GetFlavor(this IContentDeliveryNetworkService cdnService, string flavorId)
 {
     return(cdnService.GetFlavorAsync(flavorId).ForceSynchronous());
 }